This documentation is archived and is not being maintained.
CivicAddress Constructor (String, String, String, String, String, String, String, String)
Visual Studio 2010
Initializes a new instance of the CivicAddress class using address information.
Assembly: System.Device (in System.Device.dll)
public:
CivicAddress(
String^ addressLine1,
String^ addressLine2,
String^ building,
String^ city,
String^ countryRegion,
String^ floorLevel,
String^ postalCode,
String^ stateProvince
)
Parameters
- addressLine1
- Type: System::String
A string containing the first line of the street address.
- addressLine2
- Type: System::String
A string containing the second line of the street address.
- building
- Type: System::String
A string containing the building name or number.
- city
- Type: System::String
A string containing the city.
- countryRegion
- Type: System::String
A string containing the country or region.
- floorLevel
- Type: System::String
A string containing the floor number.
- postalCode
- Type: System::String
A string containing the postal code.
- stateProvince
- Type: System::String
A string containing the state or province.
| Exception | Condition |
|---|---|
| ArgumentException | At least one parameter must be a non-empty string. |
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Show: