|  | This document is archived and information here might be outdated. Recommended version. | 
| ArcObjects Help for .NET developers > ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IE > IElementCollection Interface > IElementCollection.Count Property (ArcObjects .NET 10.5 SDK) | 
Number of elements in the collection.
[Visual Basic .NET] Public ReadOnly Property Count As Integer
[C#] public int Count {get;}
[C++]
HRESULT get_Count(
  long* Count
);
[C++]
Parameters Count [out, retval] Count is a parameter of type long