共用方式為


SyncKnowledge.Complement 方法

傳回包含在此物件中,但不包含在指定之知識中的知識。

命名空間: Microsoft.Synchronization
組件: Microsoft.Synchronization (在 microsoft.synchronization.dll)

語法

'宣告
Public Function Complement ( _
    otherKnowledge As SyncKnowledge _
) As SyncKnowledge
'用途
Dim instance As SyncKnowledge
Dim otherKnowledge As SyncKnowledge
Dim returnValue As SyncKnowledge

returnValue = instance.Complement(otherKnowledge)
public SyncKnowledge Complement (
    SyncKnowledge otherKnowledge
)
public:
SyncKnowledge^ Complement (
    SyncKnowledge^ otherKnowledge
)
public SyncKnowledge Complement (
    SyncKnowledge otherKnowledge
)
public function Complement (
    otherKnowledge : SyncKnowledge
) : SyncKnowledge

參數

  • otherKnowledge
    要從這個物件中移除以便計算補充運算之結果的知識。

傳回值

包含在此物件中,但不包含在指定之知識中的知識。

備註

補充運算的概念相當於減法運算。系統會從這個物件的知識中減去指定的知識,然後傳回結果。

請參閱

參考

SyncKnowledge 類別
SyncKnowledge 成員
Microsoft.Synchronization 命名空間