ICollection.Count Property
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Gets the number of elements contained in the Array.
Namespace: System
Assembly: mscorlib (in mscorlib.dll)
Syntax
'Declaration
Private ReadOnly Property Count As Integer
Implements ICollection.Count
int ICollection.Count { get; }
private:
virtual property int Count {
int get () sealed = ICollection::Count::get;
}
private abstract Count : int with get
private override Count : int with get
JScript does not support explicit interface implementations.
Property Value
Type: System. . :: . .Int32
The number of elements contained in the T:System.Collections.ICollection.
Implements
Remarks
This member is an explicit interface member implementation. It can be used only when the Array instance is cast to an T:System.Collections.ICollection interface.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see dd66cd4c-b087-415f-9c3e-94e3a1835f74.