Represents a collection that can be accessed either with the key or with the index.
| C# | Visual Basic | Visual C++ |
public class KeyValueCollection<K, V> : IEnumerable
Public Class KeyValueCollection(Of K, V) _ Implements IEnumerable
generic<typename K, typename V> public ref class KeyValueCollection : IEnumerable
- K
[Missing <typeparam name="K"/> documentation for "T:LumiSoft.Net.KeyValueCollection`2"]
- V
[Missing <typeparam name="V"/> documentation for "T:LumiSoft.Net.KeyValueCollection`2"]
| All Members | Constructors | Methods | Properties | ||
| Icon | Member | Description |
|---|---|---|
| KeyValueCollection<(Of <(K, V>)>)()()() |
Default constructor.
| |
| Add(K, V) |
Adds the specified key and value to the collection.
| |
| Clear()()() |
Removes all items from the collection.
| |
| ContainsKey(K) |
Gets if the collection contains the specified key.
| |
| Count |
Gets number of items int he collection.
| |
| Equals(Object) | (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.) | |
| GetEnumerator()()() |
Gets enumerator.
| |
| GetHashCode()()() |
Serves as a hash function for a particular type.
(Inherited from Object.) | |
| GetType()()() |
Gets the Type of the current instance.
(Inherited from Object.) | |
| Item[([(K])]) |
Gets item with the specified key.
| |
| MemberwiseClone()()() |
Creates a shallow copy of the current Object.
(Inherited from Object.) | |
| Remove(K) |
Removes the value with the specified key from the collection.
| |
| ToString()()() | (Inherited from Object.) | |
| TryGetValue(K, V%) |
Gets the value associated with the specified key.
| |
| TryGetValueAt(Int32, V%) |
Gets the value at the specified index.
|
| Object | |
| KeyValueCollection<(Of <(K, V>)>) | |