Interactive Extensions
Interactive Extensions
Ix-Main Namespaces
System.Linq
QueryableEx Class
QueryableEx Methods
Range Method
Range Method (Int32, Int32)
Range Method (IQueryProvider, Int32, Int32)
QueryableEx
Range Method (IQueryProvider, Int32, Int32)
Generates a sequence of integral numbers within a specified range.
Namespace:
System.Linq
Assembly:
System.Interactive.Providers (in System.Interactive.Providers.dll) Version: 1.2.0.0
Syntax
C#
Copy
public
static
IQueryable
<
int
>
Range
(
this
IQueryProvider
provider
,
int
start
,
int
count
)
Parameters
provider
Type:
System.Linq
IQueryProvider
Query provider.
start
Type:
System
Int32
The value of the first integer in the sequence.
count
Type:
System
Int32
The number of sequential integers to generate.
Return Value
Type:
IQueryable
Int32
Sequence that contains a range of sequential integral numbers.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
IQueryProvider
. 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
Reference
QueryableEx Class
Range Overload
System.Linq Namespace