Edit

Share via


Array.ICollection.Count Property

Definition

Gets the number of elements contained in the 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

Property Value

The number of elements contained in the collection.

Implements

Remarks

This member is an explicit interface member implementation. It can be used only when the Array instance is cast to an ICollection interface.

Applies to