BiDictionary<TFirst, TSecond> Class
Public Class BiDictionary(Of _
TFirst, _
TSecond)
This language is not supported or no code example is available.
Type Parameters
- TFirst
The type of the "key"
- TSecond
The type of the "value"
Name | Description | |
---|---|---|
Count | The number of pairs stored in the dictionary | |
FirstValues | ||
SecondValues |
Name | Description | |
---|---|---|
Add(TFirst, TSecond) | Tries to add the pair to the dictionary. Throws an exception if either element is already in the dictionary | |
Clear() | Removes all items from the dictionary. | |
ContainsByFirst(TFirst) | ||
ContainsBySecond(TSecond) | ||
Equals(Object) | (inherited from Object). | |
Finalize | (inherited from Object). | |
GetByFirst(TFirst) | Find the TSecond corresponding to the TFirst first Throws an exception if first is not in the dictionary. | |
GetBySecond(TSecond) | Find the TFirst corresponding to the Second second. Throws an exception if second is not in the dictionary. | |
GetHashCode | (inherited from Object). | |
GetType | (inherited from Object). | |
MemberwiseClone | (inherited from Object). | |
RemoveByFirst(TFirst) | Remove the record containing first. If first is not in the dictionary, throws an Exception. | |
RemoveBySecond(TSecond) | Remove the record containing second. If second is not in the dictionary, throws an Exception. | |
ToString | (inherited from Object). | |
TryAdd(TFirst, TSecond) | Tries to add the pair to the dictionary. Returns false if either element is already in the dictionary | |
TryGetByFirst(TFirst, out TSecond) | Find the TSecond corresponding to the TFirst first. Returns false if first is not in the dictionary. | |
TryGetBySecond(TSecond, out TFirst) | Find the TFirst corresponding to the TSecond second. Returns false if second is not in the dictionary. | |
TryRemoveByFirst(TFirst) | Remove the record containing first, if there is one. | |
TryRemoveBySecond(TSecond) | Remove the record containing second, if there is one. |
devDept.Eyeshot.BiDictionary<TFirst, TSecond>