Array.ICollection.Count 属性
定义
property int System::Collections::ICollection::Count { int get(); };
int System.Collections.ICollection.Count { get; }
member this.System.Collections.ICollection.Count : int
ReadOnly Property Count As Integer Implements ICollection.Count
属性值
集合中包含的元素数。The number of elements contained in the collection.
实现
注解
此成员是显式接口成员的实现。This member is an explicit interface member implementation. 它只能在 Array 实例被强制转换为 ICollection 接口时使用。It can be used only when the Array instance is cast to an ICollection interface.