共用方式為


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 類別
SyncKnowledge 成員
Microsoft.Synchronization 命名空間