ListDictionary<TKey, TValue> Members
Include Protected Members
Include Inherited Members
The ListDictionary<TKey, TValue> type exposes the following members.
Constructors
Name | Description | |
---|---|---|
ListDictionary<TKey, TValue> |
Methods
Name | Description | |
---|---|---|
Add(TKey) |
If a list does not already exist, it will be created automatically.
|
|
Add(TKey, TValue) |
Adds a value to a list with the given key. If a list does not already exist, it will be created automatically.
|
|
Clear |
Removes all entries in the dictionary.
|
|
ContainsKey |
Determines whether the dictionary contains the given key.
|
|
ContainsValue |
Determines whether the dictionary contains the specified value.
|
|
Equals | (Inherited from Object.) | |
Finalize |
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.) |
|
FindAllValues |
Retrieves all the elements that match the condition defined by the specified predicate.
|
|
FindAllValuesByKey |
Retrieves the all the elements from the list which have a key that matches the condition defined by the specified predicate.
|
|
GetHashCode |
Serves as a hash function for a particular type.
(Inherited from Object.) |
|
GetType |
Gets the Type of the current instance.
(Inherited from Object.) |
|
MemberwiseClone |
Creates a shallow copy of the current Object.
(Inherited from Object.) |
|
Remove(TKey) |
Removes a list by key.
|
|
Remove(TValue) |
Removes a value from all lists where it may be found.
|
|
Remove(TKey, TValue) |
Removes a value from the list with the given key.
|
|
ToString | (Inherited from Object.) |
Properties
Name | Description | |
---|---|---|
Count |
Gets the number of lists in the dictionary.
|
|
Item |
Gets or sets the list associated with the given key. The access always succeeds, eventually returning an empty list.
|
|
Keys |
Gets the list of keys in the dictionary.
|
|
Values |
Gets a shallow copy of all values in all lists.
|