[]
Removes an index from the collection.
public abstract bool Remove(LambdaExpression keySelector)
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)
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. |