CreateIndex<T,TKey>(IObservableSource<T>,Expression<Func<T,TKey>>,Boolean,CultureInfo) Method
In This Topic
Creates a new index.
Syntax
Parameters
- source
- The collection to be indexed.
- 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.
- locale
- Locale information used to compare strings in the index (default: CultureInfo.CurrentCulture).
Type Parameters
- T
- The type of the elements of the collection to index.
- TKey
- The type of the index key.
Return Value
The new index.
See Also