Freigeben über


NormalizedSpanCollection.IntersectsWith-Methode (NormalizedSpanCollection)

Bestimmt, ob dieser Spannensatz einem anderen Spannensatz überschneidet.

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

Parameter

Rückgabewert

Typ: Boolean
true , wenn sich die Spannensätze schneiden, andernfalls false.

Ausnahmen

Ausnahme Bedingung
ArgumentNullException

set ist nullein Nullverweis (Nothing in Visual Basic).

.NET Framework-Sicherheit

Siehe auch

Referenz

NormalizedSpanCollection Klasse

IntersectsWith-Überladung

Microsoft.VisualStudio.Text-Namespace