Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
DictionaryBase Members

DictionaryBase Members

Provides the abstract base class for a strongly typed collection of key/value pairs.

The DictionaryBase type exposes the following members.

  NameDescription
Protected method DictionaryBase Initializes a new instance of the DictionaryBase class.
Top

  NameDescription
Public method Clear Clears the contents of the DictionaryBase instance.
Public method CopyTo Copies the DictionaryBase elements to a one-dimensional Array at the specified index.
Public method Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetEnumerator Returns an IDictionaryEnumerator that iterates through the DictionaryBase instance.
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetType Gets the type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Protected method OnClear Performs additional custom processes before clearing the contents of the DictionaryBase instance.
Protected method OnClearComplete Performs additional custom processes after clearing the contents of the DictionaryBase instance.
Protected method OnGet Gets the element with the specified key and value in the DictionaryBase instance.
Protected method OnInsert Performs additional custom processes before inserting a new element into the DictionaryBase instance.
Protected method OnInsertComplete Performs additional custom processes after inserting a new element into the DictionaryBase instance.
Protected method OnRemove Performs additional custom processes before removing an element from the DictionaryBase instance.
Protected method OnRemoveComplete Performs additional custom processes after removing an element from the DictionaryBase instance.
Protected method OnSet Performs additional custom processes before setting a value in the DictionaryBase instance.
Protected method OnSetComplete Performs additional custom processes after setting a value in the DictionaryBase instance.
Protected method OnValidate Performs additional custom processes when validating the element with the specified key and value.
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Top

  NameDescription
Public Extension Method AsQueryable Converts an IEnumerable to an IQueryable. (Defined by Queryable.)
Public Extension Method Cast Converts the elements of an IEnumerable to the specified type. (Defined by Enumerable.)
Public Extension Method OfType Filters the elements of an IEnumerable based on a specified type. (Defined by Enumerable.)
Top

  NameDescription
Public property Count Gets the number of elements contained in the DictionaryBase instance.
Protected property Dictionary Gets the list of elements contained in the DictionaryBase instance.
Protected property InnerHashtable Gets the list of elements contained in the DictionaryBase instance.
Top

  NameDescription
Explicit interface implemetation Private method IDictionary.Add Adds an element with the specified key and value into the DictionaryBase.
Explicit interface implemetation Private method IDictionary.Contains Determines whether the DictionaryBase contains a specific key.
Explicit interface implemetation Private method IEnumerable.GetEnumerator Returns an IEnumerator that iterates through the DictionaryBase.
Explicit interface implemetation Private property IDictionary.IsFixedSize Gets a value indicating whether a DictionaryBase object has a fixed size.
Explicit interface implemetation Private property IDictionary.IsReadOnly Gets a value indicating whether a DictionaryBase object is read-only.
Explicit interface implemetation Private property ICollection.IsSynchronized Gets a value indicating whether access to a DictionaryBase object is synchronized (thread safe).
Explicit interface implemetation Private property IDictionary.Item Gets or sets the value associated with the specified key.
Explicit interface implemetation Private property IDictionary.Keys Gets an ICollection object containing the keys in the DictionaryBase object.
Explicit interface implemetation Private method IDictionary.Remove Removes the element with the specified key from the DictionaryBase.
Explicit interface implemetation Private property ICollection.SyncRoot Gets an object that can be used to synchronize access to a DictionaryBase object.
Explicit interface implemetation Private property IDictionary.Values Gets an ICollection object containing the values in the DictionaryBase object.
Top

Community Additions

ADD
Show:
© 2015 Microsoft