Utf8.TryWriteInterpolatedStringHandler Konstruktory

Definicja

Przeciążenia

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

Tworzy procedurę obsługi używaną do zapisywania ciągu interpolowanego w formacie UTF-8 Span<T>.

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

Tworzy procedurę obsługi używaną do zapisywania ciągu interpolowanego w formacie UTF-8 Span<T>.

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

Źródło:
Utf8.cs
Źródło:
Utf8.cs

Tworzy procedurę obsługi używaną do zapisywania ciągu interpolowanego w formacie 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)

Parametry

literalLength
Int32

Liczba znaków stałych poza wyrażeniami interpolacji w ciągu interpolowanym.

formattedCount
Int32

Liczba wyrażeń interpolacji w ciągu interpolowanym.

destination
Span<Byte>

Bufor docelowy.

shouldAppend
Boolean

Gdy ta metoda zostanie zwrócona, zawiera true informację, czy miejsce docelowe może być wystarczająco długie, aby obsłużyć formatowanie, lub false jeśli nie jest.

Uwagi

Ma to być wywoływane tylko przez kod wygenerowany przez kompilator. Argumenty nie są weryfikowane, ponieważ w przeciwnym razie mają być używane bezpośrednio przez członków.

Dotyczy

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

Źródło:
Utf8.cs
Źródło:
Utf8.cs

Tworzy procedurę obsługi używaną do zapisywania ciągu interpolowanego w formacie 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)

Parametry

literalLength
Int32

Liczba znaków stałych poza wyrażeniami interpolacji w ciągu interpolowanym.

formattedCount
Int32

Liczba wyrażeń interpolacji w ciągu interpolowanym.

destination
Span<Byte>

Bufor docelowy.

provider
IFormatProvider

Obiekt, który dostarcza informacje o formatowaniu specyficzne dla kultury.

shouldAppend
Boolean

Gdy ta metoda zostanie zwrócona, zawiera true informację, czy miejsce docelowe może być wystarczająco długie, aby obsłużyć formatowanie, lub false jeśli nie jest.

Uwagi

Ma to być wywoływane tylko przez kod wygenerowany przez kompilator. Argumenty nie są weryfikowane, ponieważ w przeciwnym razie mają być używane bezpośrednio przez członków.

Dotyczy