MemoryExtensions.TryWriteInterpolatedStringHandler コンストラクター

定義

オーバーロード

名前 説明
MemoryExtensions.TryWriteInterpolatedStringHandler(Int32, Int32, Span<Char>, Boolean)

挿入文字列を一連の文字に書き込むハンドラーを作成します。

MemoryExtensions.TryWriteInterpolatedStringHandler(Int32, Int32, Span<Char>, IFormatProvider, Boolean)

挿入文字列を一連の文字に書き込むハンドラーを作成します。

MemoryExtensions.TryWriteInterpolatedStringHandler(Int32, Int32, Span<Char>, Boolean)

ソース:
MemoryExtensions.cs
ソース:
MemoryExtensions.cs
ソース:
MemoryExtensions.cs
ソース:
MemoryExtensions.cs
ソース:
MemoryExtensions.cs

挿入文字列を一連の文字に書き込むハンドラーを作成します。

public:
 TryWriteInterpolatedStringHandler(int literalLength, int formattedCount, Span<char> destination, [Runtime::InteropServices::Out] bool % shouldAppend);
public TryWriteInterpolatedStringHandler(int literalLength, int formattedCount, Span<char> destination, out bool shouldAppend);
new MemoryExtensions.TryWriteInterpolatedStringHandler : int * int * Span<char> * bool -> MemoryExtensions.TryWriteInterpolatedStringHandler
Public Sub New (literalLength As Integer, formattedCount As Integer, destination As Span(Of Char), ByRef shouldAppend As Boolean)

パラメーター

literalLength
Int32

補間文字列内の補間式の外側にある定数文字の数。

formattedCount
Int32

補間文字列内の補間式の数。

destination
Span<Char>

宛先バッファー。

shouldAppend
Boolean

このメソッドから制御が戻るときに、変換先が書式設定をサポートするのに十分な長さである可能性がある場合は true 、それではない場合は false が含まれます。

注釈

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

適用対象

MemoryExtensions.TryWriteInterpolatedStringHandler(Int32, Int32, Span<Char>, IFormatProvider, Boolean)

ソース:
MemoryExtensions.cs
ソース:
MemoryExtensions.cs
ソース:
MemoryExtensions.cs
ソース:
MemoryExtensions.cs
ソース:
MemoryExtensions.cs

挿入文字列を一連の文字に書き込むハンドラーを作成します。

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

パラメーター

literalLength
Int32

補間文字列内の補間式の外側にある定数文字の数。

formattedCount
Int32

補間文字列内の補間式の数。

destination
Span<Char>

宛先バッファー。

provider
IFormatProvider

カルチャ固有の書式設定情報を提供するオブジェクト。

shouldAppend
Boolean

このメソッドから制御が戻るときに、変換先が書式設定をサポートするのに十分な長さである可能性がある場合は true 、それではない場合は false が含まれます。

注釈

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

適用対象