Back to Devexpress

PresentationDictionary<TKey, TValue> Members

officefileapi-devexpress-dot-docs-dot-presentation-dot-presentationdictionary-2-dot-underscore-members.md

latest5.4 KB
Original Source

PresentationDictionary<TKey, TValue> Members

A dictionary that contains presentation objects.

Constructors

NameDescription
PresentationDictionary()Initializes a new instance of the PresentationDictionary<TKey, TValue> class.

Properties

NameDescription
CountReturns the number of key-value pairs contained in the dictionary.
IsReadOnlyIndicates whether the dictionary is read-only.
Item[TKey]Gets or sets the value associated with the specified key.
KeysReturns a collection that contains the keys in the dictionary.
ValuesReturns a collection that contains the values in the dictionary.

Methods

NameDescription
Add(TKey, TValue)Adds an element with the specified key and value to the dictionary.
Add(KeyValuePair<TKey, TValue>)Adds a key-value pair to the dictionary.
Clear()Removes all items from the dictionary.
Contains(KeyValuePair<TKey, TValue>)Determines whether the dictionary contains a specific key-value pair.
ContainsKey(TKey)Determines whether the dictionary contains an element with the specified key.
CopyTo(KeyValuePair<TKey, TValue>[], Int32)Copies the elements of the dictionary to an array of key-value pairs, starting at the specified array index.
Equals(Object, Object) staticDetermines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object)Determines whether the specified object is equal to the current object. Inherited from Object.
GetEnumerator()Returns an enumerator that iterates through the dictionary.
GetHashCode()Serves as the default hash function. Inherited from Object.
GetType()Gets the Type of the current instance. Inherited from Object.
MemberwiseClone() protectedCreates a shallow copy of the current Object. Inherited from Object.
ReferenceEquals(Object, Object) staticDetermines whether the specified Object instances are the same instance. Inherited from Object.
Remove(TKey)Removes the value with the specified key from the dictionary.
Remove(KeyValuePair<TKey, TValue>)Removes the specified key-value pair from the dictionary.
ToString()Returns a string that represents the current object. Inherited from Object.
TryGetValue(TKey, out TValue)Tries to get the value associated with the specified key.

See Also

PresentationDictionary<TKey, TValue> Class

DevExpress.Docs.Presentation Namespace