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
- span
Type: Microsoft.VisualStudio.Text.Span
The span to check.
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
- 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.