NormalizedSnapshotSpanCollection.Intersection Method

Definition

Computes the intersection of two normalized snapshot span collections and normalizes the result.

C++
public:
 static Microsoft::VisualStudio::Text::NormalizedSnapshotSpanCollection ^ Intersection(Microsoft::VisualStudio::Text::NormalizedSnapshotSpanCollection ^ left, Microsoft::VisualStudio::Text::NormalizedSnapshotSpanCollection ^ right);

Parameters

Returns

The normalized set of intersecting spans.

Exceptions

left or right is null.

The collections refer to different snapshots.

Applies to

Proizvod Verzije
Visual Studio SDK 2015, 2017, 2019, 2022