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