OnTime Extension SDK Documentation
OnTime.Extensions.SDK Namespace / LocationBase Class / State Property



In This Topic
    State Property (LocationBase)
    In This Topic
    The state, province, or other civil entity this Location resides within.
    Syntax
    'Declaration
     
    
    <DataMemberAttribute(False)>
    Public Property State As String
    'Usage
     
    
    Dim instance As LocationBase
    Dim value As String
     
    instance.State = value
     
    value = instance.State
    [DataMember(false)]
    public string State {get; set;}
    [DataMember(false)]
    public:
    property String^ State {
       String^ get();
       void set (    String^ value);
    }
    Remarks
    The maximum allowed length for this field is 50 characters.
    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