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 命名空间