RangeExtensionsLength Method |
Gets the length of the specified range between the start and end values.
Namespace:
Eto.Forms
Assembly:
Eto (in Eto.dll) Version: 2.5.3-dev
Syntax public static int Length(
this Range<int> range
)
<ExtensionAttribute>
Public Shared Function Length (
range As Range(Of Integer)
) As Integer
[<ExtensionAttribute>]
static member Length :
range : Range<int> -> int
Parameters
- range
- Type: Eto.FormsRangeInt32
Range to get the length for.
Return Value
Type:
Int32The length between the start and end values of the specified range.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
RangeInt32. 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