Share via


SnapshotSpan.Implicit(SnapshotSpan to Span) Operator

Definition

Implicitly converts a snapshot span to a span.

public:
 static operator Microsoft::VisualStudio::Text::Span(Microsoft::VisualStudio::Text::SnapshotSpan snapshotSpan);
 static operator Microsoft::VisualStudio::Text::Span(Microsoft::VisualStudio::Text::SnapshotSpan snapshotSpan);
public static implicit operator Microsoft.VisualStudio.Text.Span (Microsoft.VisualStudio.Text.SnapshotSpan snapshotSpan);
static member op_Implicit : Microsoft.VisualStudio.Text.SnapshotSpan -> Microsoft.VisualStudio.Text.Span
Public Shared Widening Operator CType (snapshotSpan As SnapshotSpan) As Span

Parameters

snapshotSpan
SnapshotSpan

The snapshot span.

Returns

The Span.

Applies to