SyncKnowledge.Contains 方法 (SyncKnowledge)
指示此知识是否了解指定的知识。
命名空间: Microsoft.Synchronization
程序集: Microsoft.Synchronization(在 microsoft.synchronization.dll 中)
语法
声明
Public Function Contains ( _
syncKnowledge As SyncKnowledge _
) As Boolean
用法
Dim instance As SyncKnowledge
Dim syncKnowledge As SyncKnowledge
Dim returnValue As Boolean
returnValue = instance.Contains(syncKnowledge)
public bool Contains (
SyncKnowledge syncKnowledge
)
public:
bool Contains (
SyncKnowledge^ syncKnowledge
)
public boolean Contains (
SyncKnowledge syncKnowledge
)
public function Contains (
syncKnowledge : SyncKnowledge
) : boolean
参数
- syncKnowledge
要查找的知识。
返回值
如果 syncKnowledge 已知,则返回值为 true。否则为 false。
备注
在将 syncKnowledge 传递给此方法之前不必对它调用 MapRemoteKnowledgeToLocal。
请参阅
参考
SyncKnowledge 类
SyncKnowledge 成员
Microsoft.Synchronization 命名空间