다음을 통해 공유


Utf8.TryWriteInterpolatedStringHandler 생성자

정의

오버로드

Utf8.TryWriteInterpolatedStringHandler(Int32, Int32, Span<Byte>, Boolean)

보간된 문자열을 UTF-8 Span<T>에 쓰는 데 사용되는 처리기를 만듭니다.

Utf8.TryWriteInterpolatedStringHandler(Int32, Int32, Span<Byte>, IFormatProvider, Boolean)

보간된 문자열을 UTF-8 Span<T>에 쓰는 데 사용되는 처리기를 만듭니다.

Utf8.TryWriteInterpolatedStringHandler(Int32, Int32, Span<Byte>, Boolean)

Source:
Utf8.cs
Source:
Utf8.cs

보간된 문자열을 UTF-8 Span<T>에 쓰는 데 사용되는 처리기를 만듭니다.

public:
 TryWriteInterpolatedStringHandler(int literalLength, int formattedCount, Span<System::Byte> destination, [Runtime::InteropServices::Out] bool % shouldAppend);
public TryWriteInterpolatedStringHandler (int literalLength, int formattedCount, Span<byte> destination, out bool shouldAppend);
new System.Text.Unicode.Utf8.TryWriteInterpolatedStringHandler : int * int * Span<byte> * bool -> System.Text.Unicode.Utf8.TryWriteInterpolatedStringHandler
Public Sub New (literalLength As Integer, formattedCount As Integer, destination As Span(Of Byte), ByRef shouldAppend As Boolean)

매개 변수

literalLength
Int32

보간된 문자열의 보간 식 외부에 있는 상수 문자 수입니다.

formattedCount
Int32

보간된 문자열의 보간 식 수입니다.

destination
Span<Byte>

대상 버퍼입니다.

shouldAppend
Boolean

이 메서드가 반환될 때 에는 대상의 길이가 서식 지정을 지원할 만큼 길거나 false 그렇지 않은 경우 가 포함 true 됩니다.

설명

컴파일러에서 생성된 코드에서만 호출됩니다. 인수는 직접 사용하려는 멤버에 대한 인수이므로 유효성이 검사되지 않습니다.

적용 대상

Utf8.TryWriteInterpolatedStringHandler(Int32, Int32, Span<Byte>, IFormatProvider, Boolean)

Source:
Utf8.cs
Source:
Utf8.cs

보간된 문자열을 UTF-8 Span<T>에 쓰는 데 사용되는 처리기를 만듭니다.

public:
 TryWriteInterpolatedStringHandler(int literalLength, int formattedCount, Span<System::Byte> destination, IFormatProvider ^ provider, [Runtime::InteropServices::Out] bool % shouldAppend);
public TryWriteInterpolatedStringHandler (int literalLength, int formattedCount, Span<byte> destination, IFormatProvider? provider, out bool shouldAppend);
new System.Text.Unicode.Utf8.TryWriteInterpolatedStringHandler : int * int * Span<byte> * IFormatProvider * bool -> System.Text.Unicode.Utf8.TryWriteInterpolatedStringHandler
Public Sub New (literalLength As Integer, formattedCount As Integer, destination As Span(Of Byte), provider As IFormatProvider, ByRef shouldAppend As Boolean)

매개 변수

literalLength
Int32

보간된 문자열의 보간 식 외부에 있는 상수 문자 수입니다.

formattedCount
Int32

보간된 문자열의 보간 식 수입니다.

destination
Span<Byte>

대상 버퍼입니다.

provider
IFormatProvider

문화권별 형식 정보를 제공하는 개체입니다.

shouldAppend
Boolean

이 메서드가 반환될 때 에는 대상의 길이가 서식 지정을 지원할 만큼 길거나 false 그렇지 않은 경우 가 포함 true 됩니다.

설명

컴파일러에서 생성된 코드에서만 호출됩니다. 인수는 직접 사용하려는 멤버에 대한 인수이므로 유효성이 검사되지 않습니다.

적용 대상