[]
        
(Showing Draft Content)

C1.LiveLinq.Indexing.ScannerCollection-1.Remove

Remove Method

Remove(LambdaExpression)

Removes an index from the collection.

Declaration
public abstract bool Remove(LambdaExpression keySelector)
Public MustOverride Function Remove(keySelector As LambdaExpression) As Boolean
Parameters
Type Name Description
LambdaExpression keySelector

Key selector expression of an index, see KeySelector.

Returns
Type Description
bool

true if an index has been removed; false if there is no index with the given key selector in the collection.

Remove<TKey>(Expression<Func<T, TKey>>)

Removes an index from the collection.

Declaration
public bool Remove<TKey>(Expression<Func<T, TKey>> keySelector)
Public Function Remove(Of TKey)(keySelector As Expression(Of Func(Of T, TKey))) As Boolean
Parameters
Type Name Description
Expression<Func<T, TKey>> keySelector

Key selector expression of an index, see KeySelector.

Returns
Type Description
bool

true if an index has been removed; false if there is no index with the given key selector in the collection.

Type Parameters
Name Description
TKey

The type of the index key.