Table of Contents

Method Skip

Namespace
MongoDB.Driver.Linq
Assembly
MongoDB.Driver.dll

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 int

The 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 long

The 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