Persistate API documentation
Item Property (keyNum, key)
NamespacesPersistateIndexedList<(Of <(<'T>)>)>Item[([( Int32, Object])])

[This is preliminary documentation and is subject to change.]

Looks up an object in the IndexedList by key.
Declaration Syntax
C#
public T this[
	int keyNum,
	Object key
] { get; }
Parameters
keyNum (Int32)
The number of the key to use. These will be defined with an appropriate name in the generated code for the ObjectClass of the elements in the collection.
key (Object)
The key value.
Return Value
The object with this key, or null if none is found.
Remarks
This indexer creates Dictionary indexes on the fly if they don't yet exist, and makes entries for every object in the list.
Exceptions
ExceptionCondition
ArgumentOutOfRangeExceptionThrown if the keyNum supplied does not correspond to one of the valid key numbers for the collection.

Assembly: Persistate (Module: Persistate) Version: 0.6.1.20 (0.6.1.20)