Collection.ICollection.Count 属性

定义

获取此集合中的项数。Gets the number of items in this collection.

property int System::Collections::ICollection::Count { int get(); };
int System.Collections.ICollection.Count { get; }
member this.System.Collections.ICollection.Count : int
 ReadOnly Property ICollectionCount As Integer Implements ICollection.Count

属性值

Int32

此集合中项的数目。The number of items in this collection.

适用于