Namespace:
Extreme.Mathematics
Assembly:
Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.1
public static Range ToRange(
this Range range,
int length
)
<ExtensionAttribute>
Public Shared Function ToRange (
range As Range,
length As Integer
) As Range
public:
[ExtensionAttribute]
static Range ToRange(
Range range,
int length
)
[<ExtensionAttribute>]
static member ToRange :
range : Range *
length : int -> Range
Parameters
- range
- Type: SystemRange
The range to convert. - length
- Type: SystemInt32
The length of the dimension the range
applies to.
Return Value
Type:
RangeThe equivalent of
range
as a
Range.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
Range. 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).
Reference