[]
        
(Showing Draft Content)

C1.LiveLinq.Indexing.Search.IIndexScanner-2.FindBetween

FindBetween Method

FindBetween(TKey, bool, TKey, bool, Func<TKey, bool>, Order)

Finds items with key values in the interval between the specified values.

Declaration
IndexQuery<T, TKey> FindBetween(TKey min, bool minInclusive, TKey max, bool maxInclusive, Func<TKey, bool> keyPredicate, Order order)
Parameters
Type Name Description
TKey min

Minimum key value to search for.

bool minInclusive

If true, the result includes items with the minimum key value.

TKey max

Maximum key value to search for.

bool maxInclusive

If true, the result includes items with the maximum key value.

Func<TKey, bool> keyPredicate

An optional condition that found items must satisfy.

Order order

Optionally specifies the order of the key values to sort the result (Order.Unordered if sorting is not required).

Returns
Type Description
IndexQuery<T, TKey>

An object enumerating all items with key values within the specified limits.