Gets item with the specified key.
| C# | Visual Basic | Visual C++ |
public V this[ K key ] { get; }
Public ReadOnly Default Property Item ( _ key As K _ ) As V Get
public: property V default[K key] { V get (K key); }
- key (K)
- Key.
Returns item with the specified key. If the specified key is not found, a get operation throws a KeyNotFoundException.