語言

ImmutableArray<T>.ICollection<T>.Count 屬性

定義

取得集合中的項目數目。

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

屬性值

收藏品數量。

實作

例外狀況

該 IsDefault 性質返回 true。

適用於