InplaceStringBuilder 結構

定義

警告

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

警告

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

提供快速、非配置字串串連的機制。

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
繼承
InplaceStringBuilder
屬性

建構函式

InplaceStringBuilder(Int32)
已淘汰.
已淘汰.

初始化 InplaceStringBuilder 類別的新執行個體。

屬性

Capacity
已淘汰.
已淘汰.

取得目前 InplaceStringBuilder 物件可以包含的字元數。

方法

Append(Char)
已淘汰.
已淘汰.

將字元附加至目前 InplaceStringBuilder 實例的結尾。

Append(String)
已淘汰.
已淘汰.

將字串附加至目前 InplaceStringBuilder 實例的結尾。

Append(String, Int32, Int32)
已淘汰.
已淘汰.

將子字串附加至目前 InplaceStringBuilder 實例的結尾。

Append(StringSegment)
已淘汰.
已淘汰.

將字串區段附加至目前 InplaceStringBuilder 實例的結尾。

ToString()
已淘汰.
已淘汰.

將這個實例的值轉換為字串。

適用於