Partager via


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

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

See Also

Reference

NormalizedSpanCollection Class

OverlapsWith Overload

Microsoft.VisualStudio.Text Namespace