Intersects 方法

指示指定的知识是否与此知识相交。

命名空间:  Microsoft.Synchronization
程序集:  Microsoft.Synchronization(在 Microsoft.Synchronization.dll 中)

语法

声明
Public Function Intersects ( _
    otherKnowledge As SyncKnowledge _
) As Boolean
用法
Dim instance As SyncKnowledge
Dim otherKnowledge As SyncKnowledge
Dim returnValue As Boolean

returnValue = instance.Intersects(otherKnowledge)
public bool Intersects(
    SyncKnowledge otherKnowledge
)
public:
bool Intersects(
    SyncKnowledge^ otherKnowledge
)
member Intersects : 
        otherKnowledge:SyncKnowledge -> bool 
public function Intersects(
    otherKnowledge : SyncKnowledge
) : boolean

参数

返回值

类型:System. . :: . .Boolean
如果指定的知识与此知识相交,则为 true。否则为 false。

异常

异常 条件
InvalidOperationException

SyncKnowledge 对象未初始化。

ArgumentNullException

otherKnowledge 为 null Nothing nullptr unit null 引用(在 Visual Basic 中为 Nothing) 。

ArgumentOutOfRangeException

otherKnowledge 未初始化。

InvalidKnowledgeVersionException

otherKnowledge 所采用的版本小于 MinimumCompatibilityLevel 的值。

请参阅

参考

SyncKnowledge类

SyncKnowledge 成员

Microsoft.Synchronization 命名空间