Share via


NormalizedSnapshotSpanCollection Implicit Conversion (NormalizedSnapshotSpanCollection to NormalizedSpanCollection)

Converts the specified NormalizedSnapshotSpanCollection to a NormalizedSpanCollection.

Namespace:  Microsoft.VisualStudio.Text
Assembly:  Microsoft.VisualStudio.Text.Data (in Microsoft.VisualStudio.Text.Data.dll)

Syntax

'Declaration
Public Shared Widening Operator CType ( _
    spans As NormalizedSnapshotSpanCollection _
) As NormalizedSpanCollection
public static implicit operator NormalizedSpanCollection (
    NormalizedSnapshotSpanCollection spans
)
static implicit operator NormalizedSpanCollection^ (
    NormalizedSnapshotSpanCollection^ spans
)
F# does not support the declaration of new casting operators.
JScript does not support the declaration of new casting operators.

Parameters

Return Value

Type: Microsoft.VisualStudio.Text.NormalizedSpanCollection
A NormalizedSpanCollection containing the corresponding normalized collection of Span objects.

.NET Framework Security

See Also

Reference

NormalizedSnapshotSpanCollection Class

Microsoft.VisualStudio.Text Namespace