OrderedDictionary Members

Represents a collection of key/value pairs that are accessible by the key or index.

The OrderedDictionary type exposes the following members.

  NameDescription
Public method OrderedDictionary Overloaded. Initializes a new instance of the OrderedDictionary class.
Top

  NameDescription
Public method Add Adds an entry with the specified key and value into the OrderedDictionary collection with the lowest available index.
Public method AsReadOnly Returns a read-only copy of the current OrderedDictionary collection.
Public method Clear Removes all elements from the OrderedDictionary collection.
Public method Contains Determines whether the OrderedDictionary collection contains a specific key.
Public method CopyTo Copies the OrderedDictionary elements to a one-dimensional Array object 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 object that iterates through the OrderedDictionary collection.
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetObjectData Implements the ISerializable interface and returns the data needed to serialize the OrderedDictionary collection.
Public method GetType Gets the type of the current instance. (Inherited from Object.)
Public method Insert Inserts a new entry into the OrderedDictionary collection with the specified key and value at the specified index.
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Protected method OnDeserialization Implements the ISerializable interface and is called back by the deserialization event when deserialization is complete.
Public method Remove Removes the entry with the specified key from the OrderedDictionary collection.
Public method RemoveAt Removes the entry at the specified index from the OrderedDictionary collection.
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 key/values pairs contained in the OrderedDictionary collection.
Public property IsReadOnly Gets a value indicating whether the OrderedDictionary collection is read-only.
Public property Item Overloaded. Gets or sets the specified value.
Public property Keys Gets an ICollection object containing the keys in the OrderedDictionary collection.
Public property Values Gets an ICollection object containing the values in the OrderedDictionary collection.
Top

  NameDescription
Explicit interface implemetation Private method IEnumerable.GetEnumerator Infrastructure. Returns an IDictionaryEnumerator object that iterates through the OrderedDictionary collection.
Explicit interface implemetation Private property IDictionary.IsFixedSize Gets a value indicating whether the OrderedDictionary has a fixed size.
Explicit interface implemetation Private property ICollection.IsSynchronized Gets a value indicating whether access to the OrderedDictionary object is synchronized (thread-safe).
Explicit interface implemetation Private method IDeserializationCallback.OnDeserialization Implements the ISerializable interface and is called back by the deserialization event when deserialization is complete.
Explicit interface implemetation Private property ICollection.SyncRoot Gets an object that can be used to synchronize access to the OrderedDictionary object.
Top
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft