SnapshotSpan.IntersectsWith Method (Span)
Determines whether the specified span intersects this span.
Namespace: Microsoft.VisualStudio.Text
Assembly: Microsoft.VisualStudio.Text.Data (in Microsoft.VisualStudio.Text.Data.dll)
Syntax
'Декларация
Public Function IntersectsWith ( _
simpleSpan As Span _
) As Boolean
public bool IntersectsWith(
Span simpleSpan
)
public:
bool IntersectsWith(
Span simpleSpan
)
member IntersectsWith :
simpleSpan:Span -> bool
public function IntersectsWith(
simpleSpan : Span
) : boolean
Parameters
- simpleSpan
Type: Microsoft.VisualStudio.Text.Span
The span to check.
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, and neither is empty.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.