SyncKnowledge::Contains Method (SyncKnowledge)
Indicates whether the specified knowledge is known by this knowledge.
Assembly: Microsoft.Synchronization (in Microsoft.Synchronization.dll)
Parameters
- syncKnowledge
- Type: Microsoft.Synchronization::SyncKnowledge
The knowledge to look up.
| Exception | Condition |
|---|---|
| InvalidOperationException | This SyncKnowledge object is not initialized. |
| ArgumentNullException | syncKnowledge is a nullptr. |
| InvalidKnowledgeVersionException | The CompatibilityLevel property is less than SyncFrameworkVersion2. |
It is not necessary to call MapRemoteKnowledgeToLocal on syncKnowledge before passing it to this method.
Show: