語言

ICollection<T>.Count 屬性

定義

得到包含於 的 ICollection<T>元素數量。

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

屬性值

包含於 ICollection<T>的元素數量。

適用於