SyncKnowledge.Contains 方法 (SyncId, SyncId, SyncVersion)
指示此知识是否了解指定的项变更。
命名空间: Microsoft.Synchronization
程序集: Microsoft.Synchronization(在 microsoft.synchronization.dll 中)
语法
声明
Public Function Contains ( _
replicaId As SyncId, _
itemId As SyncId, _
changeVersion As SyncVersion _
) As Boolean
用法
Dim instance As SyncKnowledge
Dim replicaId As SyncId
Dim itemId As SyncId
Dim changeVersion As SyncVersion
Dim returnValue As Boolean
returnValue = instance.Contains(replicaId, itemId, changeVersion)
public bool Contains (
SyncId replicaId,
SyncId itemId,
SyncVersion changeVersion
)
public:
bool Contains (
SyncId^ replicaId,
SyncId^ itemId,
SyncVersion^ changeVersion
)
public boolean Contains (
SyncId replicaId,
SyncId itemId,
SyncVersion changeVersion
)
public function Contains (
replicaId : SyncId,
itemId : SyncId,
changeVersion : SyncVersion
) : boolean
参数
- replicaId
发起此变更的副本的 ID。
- itemId
已变更的项的 ID。
- changeVersion
该变更的版本。
返回值
如果该项变更是已知的,则为 true。否则为 false。
请参阅
参考
SyncKnowledge 类
SyncKnowledge 成员
Microsoft.Synchronization 命名空间