QueryableExtensionsSkip Method |
Bypasses a specified number of elements in a sequence
and then returns the remaining elements.
Namespace: Kettic.AspNet.Data.ExtensionsAssembly: Kettic.AspNet.Controls (in Kettic.AspNet.Controls.dll) Version: 2014.4.1129.0 (2014.04.1129.0)
Syntaxpublic static IQueryable Skip(
this IQueryable source,
int count
)
<ExtensionAttribute>
Public Shared Function Skip (
source As IQueryable,
count As Integer
) As IQueryable
public:
[ExtensionAttribute]
static IQueryable^ Skip(
IQueryable^ source,
int count
)
static member Skip :
source : IQueryable *
count : int -> IQueryable
Parameters
- source
- Type: System.LinqIQueryable
An IQueryable to return elements from.
- count
- Type: SystemInt32
The number of elements to skip before returning the remaining elements.
Return Value
Type:
IQueryable
An
IQueryable that contains elements that occur
after the specified index in the input sequence.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
IQueryable. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).
ExceptionsException | Condition |
---|
ArgumentNullException | source is null. |
See Also