StringSegment.AsSpan Method

Definition

Gets a ReadOnlySpan<T> from the current StringSegment.

public:
 ReadOnlySpan<char> AsSpan();
public ReadOnlySpan<char> AsSpan ();
member this.AsSpan : unit -> ReadOnlySpan<char>
Public Function AsSpan () As ReadOnlySpan(Of Char)

Returns

Applies to