Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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
- spans
Type: Microsoft.VisualStudio.Text.NormalizedSnapshotSpanCollection
The collection to convert.
Return Value
Type: Microsoft.VisualStudio.Text.NormalizedSpanCollection
A NormalizedSpanCollection containing the corresponding normalized collection of Span objects.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.