[]
Finds an index in the collection by its key selector.
public Index<T> Find(LambdaExpression keySelector)
Public Function Find(keySelector As LambdaExpression) As Index(Of T)
| Type | Name | Description |
|---|---|---|
| LambdaExpression | keySelector | Key selector expression of an index, see KeySelector. |
| Type | Description |
|---|---|
| Index<T> | An index with the given key selector, if it is found; otherwise, null. |
Finds an index in the collection by its key selector.
public Index<T, TKey> Find<TKey>(Expression<Func<T, TKey>> keySelector)
Public Function Find(Of TKey)(keySelector As Expression(Of Func(Of T, TKey))) As Index(Of T, TKey)
| Type | Name | Description |
|---|---|---|
| Expression<Func<T, TKey>> | keySelector | Key selector expression of an index, see KeySelector. |
| Type | Description |
|---|---|
| Index<T, TKey> | An index with the given key selector, if it is found; otherwise, null. |
| Name | Description |
|---|---|
| TKey | The type of the index key. |