OnTime Extension SDK Documentation
OnTime.Extensions.SDK Namespace / LocationBase Class / GetAddressAsSingleLineWithName Method
If true, CompanyName is prefixed to the address.
If true, ContactName is prefixed to the address.



In This Topic
    GetAddressAsSingleLineWithName Method
    In This Topic
    Gets the location address with name as a single line with.
    Syntax
    'Declaration
     
    
    Public Function GetAddressAsSingleLineWithName( _
       ByVal includeCompanyName As Boolean, _
       ByVal includeContactName As Boolean _
    ) As String
    'Usage
     
    
    Dim instance As LocationBase
    Dim includeCompanyName As Boolean
    Dim includeContactName As Boolean
    Dim value As String
     
    value = instance.GetAddressAsSingleLineWithName(includeCompanyName, includeContactName)
    public string GetAddressAsSingleLineWithName( 
       bool includeCompanyName,
       bool includeContactName
    )
    public:
    String^ GetAddressAsSingleLineWithName( 
       bool includeCompanyName,
       bool includeContactName
    ) 

    Parameters

    includeCompanyName
    If true, CompanyName is prefixed to the address.
    includeContactName
    If true, ContactName is prefixed to the address.
    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