OnTime Extension SDK Documentation
OnTime.Extensions.SDK Namespace / UserBase.UserSessionBase Class / StartMileage Property



In This Topic
    StartMileage Property
    In This Topic
    The initial odometer reading of the Vehicle when the User logged-in as a driver.
    Syntax
    'Declaration
     
    
    <DataMemberAttribute(False)>
    <DisplayNameAttribute("Start Mileage")>
    Public Property StartMileage As Integer
    'Usage
     
    
    Dim instance As UserBase.UserSessionBase
    Dim value As Integer
     
    instance.StartMileage = value
     
    value = instance.StartMileage
    [DataMember(false)]
    [DisplayName("Start Mileage")]
    public int StartMileage {get; set;}
    [DataMember(false)]
    [DisplayName("Start Mileage")]
    public:
    property int StartMileage {
       int get();
       void set (    int value);
    }
    Remarks
    A value of 0 is always returned when the User is logged-in as a dispatcher.
    Requirements

    Target Platforms: Windows 7, Windows 8, Windows 8.1, Windows 10, Windows 11, Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2012, Windows Server 2012 R2, Windows Server 2016, Windows Server 2019, Windows Server 2022

    See Also