NormalizedSnapshotSpanCollection.Intersection Method
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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);
public static Microsoft.VisualStudio.Text.NormalizedSnapshotSpanCollection Intersection(Microsoft.VisualStudio.Text.NormalizedSnapshotSpanCollection left, Microsoft.VisualStudio.Text.NormalizedSnapshotSpanCollection right);
static member Intersection : Microsoft.VisualStudio.Text.NormalizedSnapshotSpanCollection * Microsoft.VisualStudio.Text.NormalizedSnapshotSpanCollection -> Microsoft.VisualStudio.Text.NormalizedSnapshotSpanCollection
Public Shared Function Intersection (left As NormalizedSnapshotSpanCollection, right As NormalizedSnapshotSpanCollection) As NormalizedSnapshotSpanCollection
The first NormalizedSnapshotSpanCollection.
The secondNormalizedSnapshotSpanCollection.
The normalized set of intersecting spans.
left
or right
is null.
The collections refer to different snapshots.
Proizvod | Verzije |
---|---|
Visual Studio SDK | 2015, 2017, 2019, 2022 |