StringSegment.Implicit Operátor

Definíció

Túlterhelések

Name Description
Implicit(StringSegment to ReadOnlyMemory<Char>)

A megadott StringSegmenthelyről hoz létre egy elemetReadOnlyMemory<T>.

Implicit(StringSegment to ReadOnlySpan<Char>)

A megadott StringSegmenthelyről hoz létre egy elemetReadOnlySpan<T>.

Implicit(String to StringSegment)

Létrehoz egy újat StringSegment az adott String.

Implicit(StringSegment to ReadOnlyMemory<Char>)

Forrás:
StringSegment.cs
Forrás:
StringSegment.cs
Forrás:
StringSegment.cs
Forrás:
StringSegment.cs

A megadott StringSegmenthelyről hoz létre egy elemetReadOnlyMemory<T>.

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)

Paraméterek

segment
StringSegment

Az StringSegment átalakítandó ReadOnlyMemory<T>.

Válaszok

A következőre érvényes:

Implicit(StringSegment to ReadOnlySpan<Char>)

Forrás:
StringSegment.cs
Forrás:
StringSegment.cs
Forrás:
StringSegment.cs
Forrás:
StringSegment.cs

A megadott StringSegmenthelyről hoz létre egy elemetReadOnlySpan<T>.

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)

Paraméterek

segment
StringSegment

Az StringSegment átalakítandó ReadOnlySpan<T>.

Válaszok

A következőre érvényes:

Implicit(String to StringSegment)

Forrás:
StringSegment.cs
Forrás:
StringSegment.cs
Forrás:
StringSegment.cs
Forrás:
StringSegment.cs

Létrehoz egy újat StringSegment az adott 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

Paraméterek

value
String

Az String átalakítandó StringSegment.

Válaszok

A következőre érvényes: