OnTime Extension SDK Documentation
OnTime.Extensions.SDK Namespace / OrderBase Class / Distance Property



In This Topic
    Distance Property
    In This Topic
    The total distance between the collection and delivery Locations.
    Syntax
    'Declaration
     
    
    <DataMemberAttribute(False)>
    Public Property Distance As Decimal
    'Usage
     
    
    Dim instance As OrderBase
    Dim value As Decimal
     
    instance.Distance = value
     
    value = instance.Distance
    [DataMember(false)]
    public decimal Distance {get; set;}
    [DataMember(false)]
    public:
    property decimal Distance {
       decimal get();
       void set (    decimal value);
    }
    Remarks
    The units of measurement used for this value is determined thorugh a company-wide setting within OnTime Management Suite.
    Available units of measurement include:
    • Miles
    • Kilometers
    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