Explicit ImplementationICollectionCount Property
Gets the number of elements contained in the ICollection.
Definition
Namespace: XMLCommentsExamples.DocumentationInheritance
Assembly: XMLCommentsExamples (in XMLCommentsExamples.dll) Version: 2025.4.26.0
The number of elements contained in the ICollection.
Assembly: XMLCommentsExamples (in XMLCommentsExamples.dll) Version: 2025.4.26.0
C#
int ICollection.Count { get; }VB
Private ReadOnly Property Count As Integer
Implements ICollection.Count
GetC++
private:
virtual property int Count {
int get () sealed = ICollection::Count::get;
}F#
private abstract Count : int with get
private override Count : int with getReturn Value
Int32The number of elements contained in the ICollection.