QueryableExtensionsPage Method |
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 Page(
this IQueryable source,
int startIndex,
int pageSize
)
<ExtensionAttribute>
Public Shared Function Page (
source As IQueryable,
startIndex As Integer,
pageSize As Integer
) As IQueryable
public:
[ExtensionAttribute]
static IQueryable^ Page(
IQueryable^ source,
int startIndex,
int pageSize
)
static member Page :
source : IQueryable *
startIndex : int *
pageSize : int -> IQueryable
Parameters
- source
- Type: System.LinqIQueryable
- startIndex
- Type: SystemInt32
- pageSize
- Type: SystemInt32
Return Value
Type:
IQueryableUsage 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).
See Also