NormalizedSpanCollection.IntersectsWith Method (NormalizedSpanCollection)
Determines whether this span set intersects with another span set.
Namespace: Microsoft.VisualStudio.Text
Assembly: Microsoft.VisualStudio.Text.Data (in Microsoft.VisualStudio.Text.Data.dll)
Syntax
'Declaration
Public Function IntersectsWith ( _
set As NormalizedSpanCollection _
) As Boolean
public bool IntersectsWith(
NormalizedSpanCollection set
)
public:
bool IntersectsWith(
NormalizedSpanCollection^ set
)
member IntersectsWith :
set:NormalizedSpanCollection -> bool
public function IntersectsWith(
set : NormalizedSpanCollection
) : boolean
Parameters
set
Type: Microsoft.VisualStudio.Text.NormalizedSpanCollectionThe second span set.
Return Value
Type: System.Boolean
true if the span sets intersect, otherwise false.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | set is nulla null reference (Nothing in Visual Basic). |
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.