ImmutableArray<T>.ICollection.Count 属性

定义

获取数组的大小。Gets the size of the array.

property int System::Collections::ICollection::Count { int get(); };
int System.Collections.ICollection.Count { get; }
member this.System.Collections.ICollection.Count : int
 ReadOnly Property Count As Integer Implements ICollection.Count

属性值

Int32

集合中项的数目。The number of items in the collection.

实现

例外

IsDefault 属性返回 true 时引发。Thrown if the IsDefault property returns true.

适用于