ReadOnlyMemory<T>.IsEmpty 属性

定义

获取一个指示此只读内存区域是否为空的值。

public:
 property bool IsEmpty { bool get(); };
public bool IsEmpty { get; }
member this.IsEmpty : bool
Public ReadOnly Property IsEmpty As Boolean

属性值

Boolean

true 如果只读内存区域为空 (即为 0,则为 Length 0) ;否则为 false

适用于