NormalizedSnapshotSpanCollection.Difference Method
Definition
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 difference between two normalized snapshot span collections and normalizes the result.
public:
static Microsoft::VisualStudio::Text::NormalizedSnapshotSpanCollection ^ Difference(Microsoft::VisualStudio::Text::NormalizedSnapshotSpanCollection ^ left, Microsoft::VisualStudio::Text::NormalizedSnapshotSpanCollection ^ right);
public static Microsoft.VisualStudio.Text.NormalizedSnapshotSpanCollection Difference (Microsoft.VisualStudio.Text.NormalizedSnapshotSpanCollection left, Microsoft.VisualStudio.Text.NormalizedSnapshotSpanCollection right);
static member Difference : Microsoft.VisualStudio.Text.NormalizedSnapshotSpanCollection * Microsoft.VisualStudio.Text.NormalizedSnapshotSpanCollection -> Microsoft.VisualStudio.Text.NormalizedSnapshotSpanCollection
Public Shared Function Difference (left As NormalizedSnapshotSpanCollection, right As NormalizedSnapshotSpanCollection) As NormalizedSnapshotSpanCollection
Parameters
The collection from which to subtract right
.
The collection to subtract from left
.
Returns
The normalized set difference.
Exceptions
left
or right
is null.
The input collections refer to different snapshots.