DictionaryBase::Count Property

 

Gets the number of elements contained in the DictionaryBase instance.

Namespace:   System.Collections
Assembly:  mscorlib (in mscorlib.dll)

public:
property int Count {
	virtual int get() sealed;
}

Property Value

Type: System::Int32

The number of elements contained in the DictionaryBase instance.

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

Universal Windows Platform
Available since 10
.NET Framework
Available since 1.1
Return to top
Show: