Click or drag to resize

YDefaultableDictionaryTKey, TValue Methods

The YDefaultableDictionaryTKey, TValue type exposes the following members.

Methods
  Name Description
Public method Add Adds the specified key and value to the dictionary.
(Inherited from DictionaryTKey, TValue)
Public method Clear Removes all keys and values from the DictionaryTKey, TValue.
(Inherited from DictionaryTKey, TValue)
Public method ContainsKey Determines whether the DictionaryTKey, TValue contains the specified key.
(Inherited from DictionaryTKey, TValue)
Public method ContainsValue Determines whether the DictionaryTKey, TValue contains a specific value.
(Inherited from DictionaryTKey, TValue)
Public method EnsureCapacity Ensures that the dictionary can hold up to a specified number of entries without any further expansion of its backing storage.
(Inherited from DictionaryTKey, TValue)
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 enumerator that iterates through the DictionaryTKey, TValue.
(Inherited from DictionaryTKey, TValue)
Public method GetHashCode Serves as the default hash function.
(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)
Public method OnDeserialization Implements the ISerializable interface and raises the deserialization event when the deserialization is complete.
(Inherited from DictionaryTKey, TValue)
Public method Remove(TKey) Removes the value with the specified key from the DictionaryTKey, TValue.
(Inherited from DictionaryTKey, TValue)
Public method Remove(TKey, TValue) Removes the value with the specified key from the DictionaryTKey, TValue, and copies the element to the value parameter.
(Inherited from DictionaryTKey, TValue)
Public method ToString Returns a string that represents the current object.
(Inherited from Object)
Public method TrimExcess Sets the capacity of this dictionary to what it would be if it had been originally initialized with all its entries.
(Inherited from DictionaryTKey, TValue)
Public method TrimExcess(Int32) Sets the capacity of this dictionary to hold up a specified number of entries without any further expansion of its backing storage.
(Inherited from DictionaryTKey, TValue)
Public method TryAdd Attempts to add the specified key and value to the dictionary.
(Inherited from DictionaryTKey, TValue)
Public method TryGetValue Gets the value associated with the specified key.
(Inherited from DictionaryTKey, TValue)
Top
Extension Methods
  Name Description
Public Extension Method GetMD5HashCode Get the MD5 Hash code of an Objectobj as a string.
(Defined by YObjectExtentionMethods)
Public Extension Method SerializeObject Serialize an ObjecttoSerialize.
(Defined by YSerializationCenter)
Top
See Also