ReadOnlySequenceSegment<T> 类

定义

表示 ReadOnlyMemory<T> 节点的链接列表。Represents a linked list of ReadOnlyMemory<T> nodes.

generic <typename T>
public ref class ReadOnlySequenceSegment abstract
public abstract class ReadOnlySequenceSegment<T>
type ReadOnlySequenceSegment<'T> = class
Public MustInherit Class ReadOnlySequenceSegment(Of T)

类型参数

T

只读序列段中元素的类型。The type of the elements in the read-only sequence segment.

继承
ReadOnlySequenceSegment<T>

构造函数

ReadOnlySequenceSegment<T>()

初始化 ReadOnlySequenceSegment<T> 类的新实例。Initializes a new instance of the ReadOnlySequenceSegment<T> class.

属性

Memory

获取或设置当前节点的 ReadOnlyMemory<T> 值。Gets or sets a ReadOnlyMemory<T> value for the current node.

Next

获取或设置下一个节点。Gets or sets the next node.

RunningIndex

获取或设置当前节点之前的节点长度之和。Gets or sets the sum of node lengths before the current node.

方法

Equals(Object)

确定指定对象是否等于当前对象。Determines whether the specified object is equal to the current object.

(继承自 Object)
GetHashCode()

用作默认哈希函数。Serves as the default hash function.

(继承自 Object)
GetType()

获取当前实例的 TypeGets the Type of the current instance.

(继承自 Object)
MemberwiseClone()

创建当前 Object 的浅表副本。Creates a shallow copy of the current Object.

(继承自 Object)
ToString()

返回表示当前对象的字符串。Returns a string that represents the current object.

(继承自 Object)

适用于