[This is preliminary documentation and is subject to change.]
Looks up an object in the IndexedList by string key.
Declaration Syntax
C# |
public T this[ string key ] { get; }
Parameters
- key (String)
- The value to look up.
Return Value
The T object indexed by the key, or null if none is found.
Remarks
The key index used will be that defined by the stringIndex
parameter passed to the IndexedList constructor.
Exceptions
Exception | Condition |
---|---|
ArgumentException | Throw if no string index is defined for
the IndexedList. |