Export (0) Print
Expand All

DictionaryBase Methods

The methods of the DictionaryBase class are listed here. For a complete list of DictionaryBase class members, see the DictionaryBase Members topic.

Public Methods

public methodClear Clears the contents of the DictionaryBase instance.
public methodCopyTo Copies the DictionaryBase elements to a one-dimensional Array at the specified index.
public methodEquals (inherited from Object) Overloaded. Determines whether two Object instances are equal.
public methodGetEnumerator Returns an IDictionaryEnumerator that can iterate through the DictionaryBase instance.
public methodGetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
public methodGetType (inherited from Object) Gets the Type of the current instance.
public methodToString (inherited from Object) Returns a String that represents the current Object.

Protected Methods

protected methodFinalize (inherited from Object) Overridden. Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.

In C# and C++, finalizers are expressed using destructor syntax.

protected methodMemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.
protected methodOnClear Performs additional custom processes before clearing the contents of the DictionaryBase instance.
protected methodOnClearComplete Performs additional custom processes after clearing the contents of the DictionaryBase instance.
protected methodOnGet Gets the element with the specified key and value in the DictionaryBase instance.
protected methodOnInsert Performs additional custom processes before inserting a new element into the DictionaryBase instance.
protected methodOnInsertComplete Performs additional custom processes after inserting a new element into the DictionaryBase instance.
protected methodOnRemove Performs additional custom processes before removing an element from the DictionaryBase instance.
protected methodOnRemoveComplete Performs additional custom processes after removing an element from the DictionaryBase instance.
protected methodOnSet Performs additional custom processes before setting a value in the DictionaryBase instance.
protected methodOnSetComplete Performs additional custom processes after setting a value in the DictionaryBase instance.
protected methodOnValidate Performs additional custom processes when validating the element with the specified key and value.

Explicit Interface Implementations

IDictionary.Add Adds an element with the specified key and value into the DictionaryBase.
IDictionary.Contains Determines whether the DictionaryBase contains a specific key.
IDictionary.Remove Removes the element with the specified key from the DictionaryBase.
IEnumerable.GetEnumerator Returns an IEnumerator that can iterate through the DictionaryBase.

See Also

DictionaryBase Class | System.Collections Namespace

Show:
© 2014 Microsoft