NormalizedSnapshotSpanCollection::IntersectsWith Method (SnapshotSpan)

 

Determines whether this collection overlaps with a snapshot span.

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

public:
bool IntersectsWith(
	SnapshotSpan span
)

Parameters

span
Type: Microsoft.VisualStudio.Text::SnapshotSpan

The snapshot span to test

Return Value

Type: System::Boolean

True if the collections intersect, otherwise false

Exception Condition
ArgumentException

The collection and the span refer to different snapshots.

Return to top
Show: