Partager via


StringSegment.AsMemory Method

Definition

Gets a ReadOnlyMemory<T> from the current StringSegment.

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

Returns

The ReadOnlyMemory<T> from this StringSegment.

Applies to