StringSegment.Implicit Operator

Definition

Überlädt

Implicit(String to StringSegment)

Erstellt eine neue StringSegment-Struktur aus der angegebenen String-Klasse.Creates a new StringSegment from the given String.

Implicit(StringSegment to ReadOnlyMemory<Char>)
Implicit(StringSegment to ReadOnlySpan<Char>)

Implicit(String to StringSegment)

Erstellt eine neue StringSegment-Struktur aus der angegebenen String-Klasse.Creates a new StringSegment from the given String.

public:
 static operator Microsoft::Extensions::Primitives::StringSegment(System::String ^ value);
public static implicit operator Microsoft.Extensions.Primitives.StringSegment (string value);
static member op_Implicit : string -> Microsoft.Extensions.Primitives.StringSegment
Public Shared Widening Operator CType (value As String) As StringSegment

Parameter

value
String

Die String-Klasse, die in eine StringSegment-Struktur konvertiert werden soll.The String to convert to a StringSegment

Gibt zurück

Implicit(StringSegment to ReadOnlyMemory<Char>)

public:
 static operator ReadOnlyMemory<char>(Microsoft::Extensions::Primitives::StringSegment segment);
public static implicit operator ReadOnlyMemory<char> (Microsoft.Extensions.Primitives.StringSegment segment);
static member op_Implicit : Microsoft.Extensions.Primitives.StringSegment -> ReadOnlyMemory<char>
Public Shared Widening Operator CType (segment As StringSegment) As ReadOnlyMemory(Of Char)

Parameter

segment
StringSegment

Gibt zurück

Implicit(StringSegment to ReadOnlySpan<Char>)

public:
 static operator ReadOnlySpan<char>(Microsoft::Extensions::Primitives::StringSegment segment);
public static implicit operator ReadOnlySpan<char> (Microsoft.Extensions.Primitives.StringSegment segment);
static member op_Implicit : Microsoft.Extensions.Primitives.StringSegment -> ReadOnlySpan<char>
Public Shared Widening Operator CType (segment As StringSegment) As ReadOnlySpan(Of Char)

Parameter

segment
StringSegment

Gibt zurück

Gilt für: