CivicAddress CivicAddress CivicAddress CivicAddress Constructors

Definition

Overloads

CivicAddress() CivicAddress() CivicAddress()

Initializes a new instance of the CivicAddress class.

CivicAddress(String, String, String, String, String, String, String, String) CivicAddress(String, String, String, String, String, String, String, String) CivicAddress(String, String, String, String, String, String, String, String) CivicAddress(String, String, String, String, String, String, String, String)

Initializes a new instance of the CivicAddress class using address information.

CivicAddress() CivicAddress() CivicAddress()

Initializes a new instance of the CivicAddress class.

public:
 CivicAddress();
public CivicAddress ();
Public Sub New ()

Remarks

All fields are initialized to Empty.

CivicAddress(String, String, String, String, String, String, String, String) CivicAddress(String, String, String, String, String, String, String, String) CivicAddress(String, String, String, String, String, String, String, String) CivicAddress(String, String, String, String, String, String, String, String)

Initializes a new instance of the CivicAddress class using address information.

public:
 CivicAddress(System::String ^ addressLine1, System::String ^ addressLine2, System::String ^ building, System::String ^ city, System::String ^ countryRegion, System::String ^ floorLevel, System::String ^ postalCode, System::String ^ stateProvince);
public CivicAddress (string addressLine1, string addressLine2, string building, string city, string countryRegion, string floorLevel, string postalCode, string stateProvince);
new System.Device.Location.CivicAddress : string * string * string * string * string * string * string * string -> System.Device.Location.CivicAddress
Public Sub New (addressLine1 As String, addressLine2 As String, building As String, city As String, countryRegion As String, floorLevel As String, postalCode As String, stateProvince As String)

Parameters

addressLine1
String String String String

A string containing the first line of the street address.

addressLine2
String String String String

A string containing the second line of the street address.

building
String String String String

A string containing the building name or number.

city
String String String String

A string containing the city.

countryRegion
String String String String

A string containing the country or region.

floorLevel
String String String String

A string containing the floor number.

postalCode
String String String String

A string containing the postal code.

stateProvince
String String String String

A string containing the state or province.

Exceptions

At least one parameter must be a non-empty string.

Applies to