Condividi tramite


Span.OverlapsWith Method

Determines whether the specified span overlaps this span.

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

Syntax

'Dichiarazione
Public Function OverlapsWith ( _
    span As Span _
) As Boolean
public bool OverlapsWith(
    Span span
)
public:
bool OverlapsWith(
    Span span
)
member OverlapsWith : 
        span:Span -> bool 
public function OverlapsWith(
    span : Span
) : boolean

Parameters

Return Value

Type: System.Boolean
true if the spans overlap, otherwise false.

Remarks

Two spans overlap if they have positions in common and neither is empty. Empty spans do not overlap with any other span.

.NET Framework Security

See Also

Reference

Span Structure

Microsoft.VisualStudio.Text Namespace