InplaceStringBuilder 结构
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
注意
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(Int32) |
已过时.
已过时.
初始化 InplaceStringBuilder 类的新实例。 |
属性
Capacity |
已过时.
已过时.
获取当前 InplaceStringBuilder 对象可以包含的字符数。 |
方法
Append(Char) |
已过时.
已过时.
将字符追加到当前 InplaceStringBuilder 实例的末尾。 |
Append(String) |
已过时.
已过时.
将字符串追加到当前 InplaceStringBuilder 实例的末尾。 |
Append(String, Int32, Int32) |
已过时.
已过时.
将子字符串追加到当前 InplaceStringBuilder 实例的末尾。 |
Append(StringSegment) |
已过时.
已过时.
将字符串段追加到当前 InplaceStringBuilder 实例的末尾。 |
ToString() |
已过时.
已过时.
将此 实例的值转换为字符串。 |