NormalizedSnapshotSpanCollection::IntersectsWith Method (NormalizedSnapshotSpanCollection^)

 

Determines whether this collection intersects with another normalized snapshot span collection.

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

public:
bool IntersectsWith(
	NormalizedSnapshotSpanCollection^ set
)

Return Value

Type: System::Boolean

true if the collections intersect, otherwise false.

Exception Condition
ArgumentNullException

set is null.

ArgumentException

The collections refer to different snapshots.

Return to top
Show: