ItemMetadataFilter 委托
表示将用于筛选要包含在变更批中的项的方法。此委托由 GetChangeBatch 使用。
命名空间: Microsoft.Synchronization.FeedSync
程序集: Microsoft.Synchronization(在 microsoft.synchronization.dll 中)
语法
声明
Public Delegate Function ItemMetadataFilter ( _
itemId As String, _
creationVersion As SyncVersion, _
changeVersion As SyncVersion _
) As Boolean
用法
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.
参数
- itemId
项的 ID。
- creationVersion
项的创建版本。
- changeVersion
项的变更版本。
返回值
如果要将项包含在变更批中,则应为 true;否则应为 false。