CivicAddress Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of the CivicAddress class.
Overloads
CivicAddress() |
Initializes a new instance of the CivicAddress class. |
CivicAddress(String, String, String, String, String, String, String, String) |
Initializes a new instance of the CivicAddress class using address information. |
CivicAddress()
Initializes a new instance of the CivicAddress class.
public:
CivicAddress();
public CivicAddress ();
Public Sub New ()
Remarks
All fields are initialized to Empty.
Applies to
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
A string containing the first line of the street address.
- addressLine2
- String
A string containing the second line of the street address.
- building
- String
A string containing the building name or number.
- city
- String
A string containing the city.
- countryRegion
- String
A string containing the country or region.
- floorLevel
- String
A string containing the floor number.
- postalCode
- String
A string containing the postal code.
- stateProvince
- String
A string containing the state or province.
Exceptions
At least one parameter must be a non-empty string.