C-DEngine 5.105

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

Removes a single item from the StorageMirror's underlying MirrorCache and/or IStorageService. If IsRAMStore is false or IsCached is true, the item will be removed from the IStorageService. If either IsRAMStore or IsCached is true, the item will be removed from the MirrorCache.

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

Syntax


public void RemoveAnItem(
	T item,
	Action<TheStorageMirror<(Of <(<'T>)>)>..::..StoreResponse> pCallBack
)
Public Sub RemoveAnItem ( _
	item As T, _
	pCallBack As Action(Of TheStorageMirror<(Of <(<'T>)>)>..::..StoreResponse) _
)
public:
void RemoveAnItem(
	T item, 
	Action<TheStorageMirror<(Of <(<'T>)>)>..::..StoreResponse^>^ pCallBack
)

Parameters

item
Type: T
The item to be removed.
pCallBack
Type: Action<(Of <(<'TheStorageMirror<(Of <(<'T>)>)>..::..StoreResponse>)>)>
The callback that will be invoked upon error or completion of the removal.