ArrayListCollectionBase.Count 属性

定义

返回集合中元素的数目。Returns the number of elements in a collection. 此 API 已废弃不用。This API is obsolete. 若要了解如何开发 ASP.NET 移动应用,请参阅 Mobile Apps & Sites with ASP.NET (ASP.NET 移动应用和网站)。For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET. 此 API 已废弃不用。This API is obsolete. 若要了解如何开发 ASP.NET 移动应用,请参阅 Mobile Apps & Sites with ASP.NET (ASP.NET 移动应用和网站)。For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

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

属性值

Int32

集合中的元素数。The number of elements in a collection.

实现

注解

由 ASP.NET 在内部使用。Used internally by the ASP.NET. 不应由客户端应用程序使用。Not intended for use by client applications.

适用于

另请参阅