DictionaryBase.Dictionary Property

 

Gets the list of elements contained in the DictionaryBase instance.

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

member Dictionary : IDictionary with get

Property Value

Type: System.Collections.IDictionary

An IDictionary representing the DictionaryBase instance itself.

The On* methods are invoked only on the instance returned by the Dictionary property, but not on the instance returned by the InnerHashtable property.

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

The following code example implements the DictionaryBase class and uses that implementation to create a dictionary of String keys and values that have a Length of 5 characters or less.

No code example is currently available or this language may not be supported.

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