NormalizedSnapshotSpanCollection::OverlapsWith Method (NormalizedSnapshotSpanCollection^)
Visual Studio 2015
Determines whether this normalized snapshot span collection overlaps with another collection.
Assembly: Microsoft.VisualStudio.Text.Data (in Microsoft.VisualStudio.Text.Data.dll)
Parameters
- set
-
Type:
Microsoft.VisualStudio.Text::NormalizedSnapshotSpanCollection^
The normalized snapshot span collection.
Return Value
Type: System::Booleantrue if the collections refer to the same snapshot and their spans overlap, otherwise false.
| Exception | Condition |
|---|---|
| ArgumentNullException | set is null. |
| ArgumentException | The collections refer to different snapshots. |
Show: