ItemMetadataFilter Delegate
Represents the method that will filter items to be included in a change batch. This delegate is used by GetChangeBatch.
Namespace: Microsoft.Synchronization.FeedSync
Assembly: Microsoft.Synchronization (in microsoft.synchronization.dll)
Syntax
'Declaration
Public Delegate Function ItemMetadataFilter ( _
itemId As String, _
creationVersion As SyncVersion, _
changeVersion As SyncVersion _
) As Boolean
'Usage
Dim instance As New ItemMetadataFilter(AddressOf HandlerMethod)
public delegate bool ItemMetadataFilter (
string itemId,
SyncVersion creationVersion,
SyncVersion changeVersion
)
public delegate bool ItemMetadataFilter (
String^ itemId,
SyncVersion^ creationVersion,
SyncVersion^ changeVersion
)
/** @delegate */
public delegate boolean ItemMetadataFilter (
String itemId,
SyncVersion creationVersion,
SyncVersion changeVersion
)
JScript supports the use of delegates, but not the declaration of new ones.
Parameters
- itemId
The ID of the item.
- creationVersion
The creation version of the item.
- changeVersion
The change version of the item.
Return Value
true to include the item in the change batch; otherwise, false.