System.Collections.ObjectModel.ReadOnlyCollection<T>.Count Property

Gets the number of elements contained in the System.Collections.ObjectModel.ReadOnlyCollection`1 instance.

Syntax

public int Count { get; }

Value

Documentation for this section has not yet been entered.

Remarks

Retrieving the value of this property is an O(1) operation.

Requirements

Namespace: System.Collections.ObjectModel
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 2.0.0.0, 4.0.0.0
Since: .NET 2.0