'Declaration Public Overloads Function Add(Of TKey)( _ ByVal keySelector As Expression(Of Func(Of T,TKey)), _ ByVal keyIsUnique As Boolean _ ) As IIndexScanner(Of T,TKey)
public IIndexScanner<T,TKey> Add<TKey>( Expression<Func<T,TKey>> keySelector, bool keyIsUnique )
Parameters
- keySelector
- Key selector expression of the index, see KeySelector.
- keyIsUnique
- Specifies whether the key used in this index is a unique key for the indexed collection (default: false).
Type Parameters
- TKey
- The type of the index key.
Return Value
The new index added to the collection of indexes.