TechTalk Genome v4.2

Set.GetRange Method (Int32, Int32, GetRangeMethod)

Returns a Set containing a range of elements in the source Set using element indexing order established by the default sort order of the source Set.

public Set GetRange(
   int first,
   int count,
   GetRangeMethod hintedMethod
);

Parameters

first
The zero-based index in the source Set.
count
The number of elements in the range starting from first.
hintedMethod
A value specifying which query building method should be used to compute the query of the resulting Set.

Return Value

A Set representing a range of elements in the source Set.

Remarks

When the set is not ordered by unique fields or expression, items may appear duplicated or disappear from the result between pages.

Exceptions

Exception TypeCondition
GenomeException The source Set does not have a default sort order.

Requirements

Namespace: TechTalk.Genome

Assembly: TechTalk.Genome (in TechTalk.Genome.dll)

Version: 4.2.11.59

Editions: Professional, Evaluation, Express

See Also

Set Class | TechTalk.Genome Namespace | Set.GetRange Overload List | GetRange