次の方法で共有


NormalizedSpanCollection.OverlapsWith Method

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

'宣言
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: System.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

Microsoft.VisualStudio.Text Namespace