NormalizedSnapshotSpanCollection.Implicit Operator
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.
Converts the specified NormalizedSnapshotSpanCollection to a NormalizedSpanCollection.
public:
static operator Microsoft::VisualStudio::Text::NormalizedSpanCollection ^(Microsoft::VisualStudio::Text::NormalizedSnapshotSpanCollection ^ spans);
public static implicit operator Microsoft.VisualStudio.Text.NormalizedSpanCollection (Microsoft.VisualStudio.Text.NormalizedSnapshotSpanCollection spans);
static member op_Implicit : Microsoft.VisualStudio.Text.NormalizedSnapshotSpanCollection -> Microsoft.VisualStudio.Text.NormalizedSpanCollection
Public Shared Widening Operator CType (spans As NormalizedSnapshotSpanCollection) As NormalizedSpanCollection
Parameters
The collection to convert.
Returns
A NormalizedSpanCollection containing the corresponding normalized collection of Span objects.
Remarks
This conversion heap allocates a new NormalizedSpanCollection and potentially it's backing array. If used in a high traffic or performance sensitive context, consider whether the originating NormalizedSnapshotSpanCollection can just be used instead.