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
sourceIMongoQueryable<TSource>An IMongoQueryable<T> to return elements from.
countintThe 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
TSourceThe 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
sourceIMongoQueryable<TSource>An IMongoQueryable<T> to return elements from.
countlongThe 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
TSourceThe type of the elements of source