Method Skip
Skip<TSource>(IMongoQueryable<TSource>, int)
Bypasses a specified number of elements in a sequence and then returns the remaining elements.
public static IMongoQueryable<TSource> Skip<TSource>(this IMongoQueryable<TSource> source, int count)
Parameters
source
IMongoQueryable<TSource>An IMongoQueryable<T> to return elements from.
count
intThe number of elements to skip before returning the remaining elements.
Returns
- IMongoQueryable<TSource>
An IMongoQueryable<T> that contains elements that occur after the specified index in the input sequence.
Type Parameters
TSource
The type of the elements of source
Skip<TSource>(IMongoQueryable<TSource>, long)
Bypasses a specified number of elements in a sequence and then returns the remaining elements.
public static IMongoQueryable<TSource> Skip<TSource>(this IMongoQueryable<TSource> source, long count)
Parameters
source
IMongoQueryable<TSource>An IMongoQueryable<T> to return elements from.
count
longThe number of elements to skip before returning the remaining elements.
Returns
- IMongoQueryable<TSource>
An IMongoQueryable<T> that contains elements that occur after the specified index in the input sequence.
Type Parameters
TSource
The type of the elements of source