IReadOnlyCollection<T>.Count 屬性

定義

取得集合中的項目數。Gets the number of elements in the collection.

public:
 property int Count { int get(); };
public int Count { get; }
member this.Count : int
Public ReadOnly Property Count As Integer

屬性值

Int32

集合中元素的數目。The number of elements in the collection.

適用於