InplaceStringBuilder Struktura

Definicja

Przestroga

This type is obsolete and will be removed in a future version.

Przestroga

This type is retained only for compatibility. The recommended alternative is string.Create<TState> (int length, TState state, System.Buffers.SpanAction<char,TState> action).

Zapewnia mechanizm szybkiego łączenia ciągów bez przydzielania.

public value class InplaceStringBuilder
public struct InplaceStringBuilder
[System.Obsolete("This type is obsolete and will be removed in a future version.")]
public struct InplaceStringBuilder
[System.Obsolete("This type is retained only for compatibility. The recommended alternative is string.Create<TState> (int length, TState state, System.Buffers.SpanAction<char,TState> action).", true)]
public struct InplaceStringBuilder
type InplaceStringBuilder = struct
[<System.Obsolete("This type is obsolete and will be removed in a future version.")>]
type InplaceStringBuilder = struct
[<System.Obsolete("This type is retained only for compatibility. The recommended alternative is string.Create<TState> (int length, TState state, System.Buffers.SpanAction<char,TState> action).", true)>]
type InplaceStringBuilder = struct
Public Structure InplaceStringBuilder
Dziedziczenie
InplaceStringBuilder
Atrybuty

Konstruktory

InplaceStringBuilder(Int32)
Przestarzałe.
Przestarzałe.

Inicjuje nowe wystąpienie klasy InplaceStringBuilder.

Właściwości

Capacity
Przestarzałe.
Przestarzałe.

Pobiera liczbę znaków, które może zawierać bieżący InplaceStringBuilder obiekt.

Metody

Append(Char)
Przestarzałe.
Przestarzałe.

Dołącza znak na końcu bieżącego InplaceStringBuilder wystąpienia.

Append(String)
Przestarzałe.
Przestarzałe.

Dołącza ciąg na końcu bieżącego InplaceStringBuilder wystąpienia.

Append(String, Int32, Int32)
Przestarzałe.
Przestarzałe.

Dołącza podciąg do końca bieżącego InplaceStringBuilder wystąpienia.

Append(StringSegment)
Przestarzałe.
Przestarzałe.

Dołącza segment ciągu na końcu bieżącego InplaceStringBuilder wystąpienia.

ToString()
Przestarzałe.
Przestarzałe.

Konwertuje wartość tego wystąpienia na ciąg.

Dotyczy