Share via


SyncKnowledge.Contains Method (SyncKnowledge)

Indicates whether the specified knowledge is known by this knowledge.

Namespace: Microsoft.Synchronization
Assembly: Microsoft.Synchronization (in microsoft.synchronization.dll)

Syntax

'Declaration
Public Function Contains ( _
    syncKnowledge As SyncKnowledge _
) As Boolean
'Usage
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

Parameters

  • syncKnowledge
    The knowledge to look up.

Return Value

true if syncKnowledge is known. Otherwise, false.

Remarks

It is not necessary to call MapRemoteKnowledgeToLocal on syncKnowledge before passing it to this method.

See Also

Reference

SyncKnowledge Class
SyncKnowledge Members
Microsoft.Synchronization Namespace