Share via


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)

ソース:
Utf8.cs
ソース:
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)

ソース:
Utf8.cs
ソース:
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

注釈

これは、コンパイラによって生成されたコードによってのみ呼び出されることを目的としています。 引数は検証されません。それ以外の場合は、直接使用することを意図したメンバー用です。

適用対象