NormalizedSpanCollection.OverlapsWith Method (NormalizedSpanCollection)
Determines whether this span set overlaps with another span set.
Namespace: Microsoft.VisualStudio.Text
Assembly: Microsoft.VisualStudio.Text.Data (in Microsoft.VisualStudio.Text.Data.dll)
Syntax
'Declaration
Public Function OverlapsWith ( _
set As NormalizedSpanCollection _
) As Boolean
public bool OverlapsWith(
NormalizedSpanCollection set
)
public:
bool OverlapsWith(
NormalizedSpanCollection^ set
)
member OverlapsWith :
set:NormalizedSpanCollection -> bool
public function OverlapsWith(
set : NormalizedSpanCollection
) : boolean
Parameters
set
Type: Microsoft.VisualStudio.Text.NormalizedSpanCollectionThe span set to test.
Return Value
Type: Boolean
true if the span sets overlap, 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.