Freigeben über


NormalizedSpanCollection.OverlapsWith-Methode (NormalizedSpanCollection)

Bestimmt, ob zwischen diesem Spannensatz einem anderen Spannensatz eine Überlappung besteht.

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

Parameter

Rückgabewert

Typ: Boolean
true , wenn zwischen den Spannensätzen eine Überlappung besteht, andernfalls false.

Ausnahmen

Ausnahme Bedingung
ArgumentNullException

set ist nullein Nullverweis (Nothing in Visual Basic).

.NET Framework-Sicherheit

Siehe auch

Referenz

NormalizedSpanCollection Klasse

OverlapsWith-Überladung

Microsoft.VisualStudio.Text-Namespace