OnTime Extension SDK Documentation
OnTime.Extensions.SDK Namespace / VehicleBase Class / IsCompanyVehicle Property



In This Topic
    IsCompanyVehicle Property
    In This Topic
    Indicates if this Vehicle is company-owned.
    Syntax
    'Declaration
     
    
    <DataMemberAttribute(False)>
    <DisplayNameAttribute("Is Company Vehicle")>
    Public Property IsCompanyVehicle As Boolean
    'Usage
     
    
    Dim instance As VehicleBase
    Dim value As Boolean
     
    instance.IsCompanyVehicle = value
     
    value = instance.IsCompanyVehicle
    [DataMember(false)]
    [DisplayName("Is Company Vehicle")]
    public bool IsCompanyVehicle {get; set;}
    [DataMember(false)]
    [DisplayName("Is Company Vehicle")]
    public:
    property bool IsCompanyVehicle {
       bool get();
       void set (    bool value);
    }
    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