[]
Removes an index from the collection.
public abstract bool Remove(LambdaExpression keySelector)
Public MustOverride Function Remove(keySelector As LambdaExpression) As Boolean
| Type | Name | Description |
|---|---|---|
| LambdaExpression | keySelector | Key selector expression of an index, see KeySelector. |
| Type | Description |
|---|---|
| bool | true if an index has been removed; false if there is no index with the given key selector in the collection. |
Removes an index from the collection.
public bool Remove<TKey>(Expression<Func<T, TKey>> keySelector)
Public Function Remove(Of TKey)(keySelector As Expression(Of Func(Of T, TKey))) As Boolean
| Type | Name | Description |
|---|---|---|
| Expression<Func<T, TKey>> | keySelector | Key selector expression of an index, see KeySelector. |
| Type | Description |
|---|---|
| bool | true if an index has been removed; false if there is no index with the given key selector in the collection. |
| Name | Description |
|---|---|
| TKey | The type of the index key. |