Gets an element with the specified key. The set operation is not supported.
Namespace: Endeca.NavigationAssembly: Endeca.Navigation (in Endeca.Navigation.dll) Version: 6.3.0.0 (6.3.0.853)
Syntax
C# |
---|
public virtual Object this[ Object key ] { get; set; } |
Visual Basic |
---|
Public Overridable Default Property Item ( _ key As Object _ ) As Object Get Set |
Visual C++ |
---|
public: virtual property Object^ default[Object^ key] { Object^ get (Object^ key); void set (Object^ key, Object^ value); } |
Parameters
- key
- Type: System..::..Object
The key of the element to get.
Field Value
An element with the specified key.Implements
IDictionary..::..Item[([( Object])])Remarks
If key has multiple values, only one value is returned.
The returned object is of type String.
Exceptions
Exception | Condition |
---|---|
System..::..ArgumentNullException | key is a null reference. |
System..::..NotSupportedException | Always for set operation. |