Array.ICollection.Count 属性

定义

获取包含在 . 中的 Array元素数。

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

属性值

集合中包含的元素数。

实现

注解

此成员是显式接口成员实现。 仅当实例强制转换为Array接口时ICollection,才能使用它。

适用于