ImmutableArray<T>.IsDefaultOrEmpty 属性

定义

获取一个值,该值指示此 ImmutableArray<T> 是否为空或未初始化。Gets a value indicating whether this ImmutableArray<T> is empty or is not initialized.

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

属性值

如果 ImmutableArray<T> nullEmpty,则 true;否则,falsetrue if the ImmutableArray<T> is null or Empty; otherwise, false.

适用于