Represents a collection that can be accessed either with the key or with the index.
| C# | Visual Basic | Visual C++ | F# |
public class KeyValueCollection<K, V> : IEnumerable
Public Class KeyValueCollection(Of K, V) Implements IEnumerable
generic<typename K, typename V> public ref class KeyValueCollection : IEnumerable
type KeyValueCollection<'K, 'V> = class interface IEnumerable end
- 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 try to free resources and perform other cleanup operations before it 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.
| |
| ToArray()()()() |
Copies all elements to new array, all elements will be in order they added. This method is thread-safe.
| |
| ToString()()()() | Returns a string that represents the current object. (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>)>)> | |
Assembly: LumiSoft.Net (Module: LumiSoft.Net.dll) Version: 4.5.5510.19119