Freigeben über


NormalizedSnapshotSpanCollection.IntersectsWith-Methode (NormalizedSnapshotSpanCollection)

Bestimmt, ob sich diese Auflistung mit einer anderen normalisierten Auflistung von Momentaufnahmespannen überschneidet.

Namespace:  Microsoft.VisualStudio.Text
Assembly:  Microsoft.VisualStudio.Text.Data (in Microsoft.VisualStudio.Text.Data.dll)

Syntax

'Declaration
Public Function IntersectsWith ( _
    set As NormalizedSnapshotSpanCollection _
) As Boolean
public bool IntersectsWith(
    NormalizedSnapshotSpanCollection set
)
public:
bool IntersectsWith(
    NormalizedSnapshotSpanCollection^ set
)
member IntersectsWith : 
        set:NormalizedSnapshotSpanCollection -> bool
public function IntersectsWith(
    set : NormalizedSnapshotSpanCollection
) : boolean

Parameter

Rückgabewert

Typ: Boolean
true , wenn sich die Auflistungen überschneiden, andernfalls false.

Ausnahmen

Ausnahme Bedingung
ArgumentNullException

set ist nullein Nullverweis (Nothing in Visual Basic).

ArgumentException

Die Auflistungen verweisen unterschiedliche Momentaufnahmen an.

.NET Framework-Sicherheit

Siehe auch

Referenz

NormalizedSnapshotSpanCollection Klasse

IntersectsWith-Überladung

Microsoft.VisualStudio.Text-Namespace