NormalizedSnapshotSpanCollection.OverlapsWith Method (SnapshotSpan)
Determines whether this span set overlaps with another span.
Namespace: Microsoft.VisualStudio.Text
Assembly: Microsoft.VisualStudio.Text.Data (in Microsoft.VisualStudio.Text.Data.dll)
Syntax
'Declaration
Public Function OverlapsWith ( _
span As SnapshotSpan _
) As Boolean
public bool OverlapsWith(
SnapshotSpan span
)
public:
bool OverlapsWith(
SnapshotSpan span
)
member OverlapsWith :
span:SnapshotSpan -> bool
public function OverlapsWith(
span : SnapshotSpan
) : boolean
Parameters
span
Type: Microsoft.VisualStudio.Text.SnapshotSpanThe span to test.
Return Value
Type: Boolean
true if this span set overlaps with the given span, otherwise false.
.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.