C-DEngine 5.105

TheStorageMirror<(Of <(<'T>)>)>..::..UpdateItemByFunc Method

Updates the first item that matches the pSelector with the item pItem in the StorageMirror's underlying MirrorCache and/or IStorageService.

Namespace:  nsCDEngine.Engines.StorageService
Assembly:  C-DEngine (in C-DEngine.dll)

Syntax


public void UpdateItemByFunc(
	T pItem,
	Func<T, bool> pSelector
)
Public Sub UpdateItemByFunc ( _
	pItem As T, _
	pSelector As Func(Of T, Boolean) _
)
public:
void UpdateItemByFunc(
	T pItem, 
	Func<T, bool^>^ pSelector
)

Parameters

pItem
Type: T
The item used to update the existing item in the StorageMirror.
pSelector
Type: Func<(Of <(<'T, Boolean>)>)>
The Func to identify the item that will be updated.