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> 中所包含的項目數。

適用於