Gets the element with the specified key.
Namespace:
Endeca.Data.Content.Collections
Assembly:
Endeca.Data.Content (in Endeca.Data.Content.dll) Version: 2.1.2.0 (2.1.2.0)
Syntax
C# |
---|
public TItem this[
TKey key
] { get; } |
Visual Basic (Declaration) |
---|
Public ReadOnly Default Property Item ( _
key As TKey _
) As TItem |
Visual C++ |
---|
public:
property TItem default[TKey key] {
TItem get (TKey key);
} |
Parameters
- key
- Type: TKey
The key of the element to get.
Return Value
The element with the specified key. If an element with the specified key
is not found, an exception is thrown.
Exceptions
See Also