StringSegment.Implicit 연산자

정의

오버로드

Implicit(String to StringSegment)

지정된 String에서 새 StringSegment를 만듭니다.Creates a new StringSegment from the given String.

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

Implicit(String to StringSegment)

지정된 String에서 새 StringSegment를 만듭니다.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

매개 변수

value
String

StringSegment로 변환할 String입니다.The String to convert to a StringSegment

반환

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)

매개 변수

segment
StringSegment

반환

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)

매개 변수

segment
StringSegment

반환

적용 대상