SyncKnowledge.Intersects Method
Indicates whether the specified knowledge intersects with this knowledge.
Namespace: Microsoft.Synchronization
Assembly: Microsoft.Synchronization (in Microsoft.Synchronization.dll)
Syntax
'Declaration
Public Function Intersects ( _
otherKnowledge As SyncKnowledge _
) As Boolean
'Usage
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
Parameters
- otherKnowledge
Type: Microsoft.Synchronization.SyncKnowledge
The knowledge that is checked against this object to determine whether there is an intersection.
Return Value
Type: System.Boolean
true if the specified knowledge intersects with this knowledge. Otherwise, false.
Exceptions
Exception | Condition |
---|---|
InvalidOperationException | This SyncKnowledge object is not initialized. |
ArgumentNullException | otherKnowledge is a null reference (Nothing in Visual Basic). |
ArgumentOutOfRangeException | otherKnowledge is uninitialized. |
InvalidKnowledgeVersionException | otherKnowledge is in a version that is less than the value of MinimumCompatibilityLevel. |