Partager via


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

Return Value

Type: 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

See Also

Reference

NormalizedSpanCollection Class

IntersectsWith Overload

Microsoft.VisualStudio.Text Namespace