語言

InplaceStringBuilder 結構

定義

警告

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
[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
[<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
屬性

建構函式

名稱 Description
InplaceStringBuilder(Int32)
已淘汰.

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

屬性

名稱 Description
Capacity
已淘汰.

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

方法

名稱 Description
Append(Char)
已淘汰.

在當前 InplaceStringBuilder 實例的結尾附加一個字元。

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

在目前 InplaceStringBuilder 實例的結尾附加一個子字串。

Append(String)
已淘汰.

在目前 InplaceStringBuilder 實例的結尾附加一個字串。

Append(StringSegment)
已淘汰.

在目前 InplaceStringBuilder 實例的結尾附加一個字串段。

ToString()
已淘汰.

將此實例的值轉換為字串。

適用於