ICollection.Count 属性

定义

获取 ICollection 中包含的元素数。

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

属性值

Int32

ICollection 中包含的元素数。

适用于