Partager via


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

Return Value

Type: Boolean
true if this span set overlaps with the given span, otherwise false.

.NET Framework Security

See Also

Reference

NormalizedSnapshotSpanCollection Class

OverlapsWith Overload

Microsoft.VisualStudio.Text Namespace