Condividi tramite


Span.IntersectsWith Method

Determines whether span intersects this span.

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

Syntax

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

Parameters

Return Value

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

Remarks

Two spans intersect if they have positions in common, or if the end of one span coincides with the start of the other span.

.NET Framework Security

See Also

Reference

Span Structure

Microsoft.VisualStudio.Text Namespace