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()
已过时.
已过时.

将此 实例的值转换为字符串。

适用于