语言

ImmutableArray<T>.IsDefaultOrEmpty 属性

定义

获取一个值,该值指示这是 ImmutableArray<T> 空还是未初始化。

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

属性值

true如果为ImmutableArray<T>null或 Empty,则为 ;否则为 false。

适用于