ImmutableArray<T>.IsEmpty 属性

定义

获取一个值,该值指示此 ImmutableArray<T> 是否为空。Gets a value indicating whether this ImmutableArray<T> is empty.

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

属性值

如果 true 为空,则为 ImmutableArray<T>;否则为 falsetrue if the ImmutableArray<T> is empty; otherwise, false.

适用于