Represents a civic address.
A civic address can include fields such as street address, postal code, state/province, and country or region.
| C# | Visual Basic |
public class CivicAddress
Public Class CivicAddress
| All Members | Constructors | Methods | Properties | Fields | |
| Icon | Member | Description |
|---|---|---|
| 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 with address information.
| |
| AddressLine1 |
Gets or sets the first line of the address.
| |
| AddressLine2 |
Gets or sets the second line of the address.
| |
| Building |
Gets or sets the building name or number.
| |
| City |
Gets or sets the name of the city.
| |
| CountryRegion |
Gets or sets the country/region of the location.
| |
| Equals(Object) | (Inherited from Object.) | |
| Finalize()()()() |
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.) | |
| FloorLevel |
Gets or sets the floor level of the location.
| |
| GetHashCode()()()() |
Serves as a hash function for a particular type.
(Inherited from Object.) | |
| GetType()()()() |
Gets the Type of the current instance.
(Inherited from Object.) | |
| IsUnknown |
Gets a value that indicates whether the CivicAddress contains data.
| |
| MemberwiseClone()()()() |
Creates a shallow copy of the current Object.
(Inherited from Object.) | |
| PostalCode |
Gets or sets the postal code of the location.
| |
| StateProvince |
Gets or sets the state or province of the location.
| |
| ToString()()()() | (Inherited from Object.) | |
| Unknown |
Represents a CivicAddress that contains no data.
|
Equivalent to System.Device.Location.CivicAddress in the .NET Framework 4
A civic address for a location can be obtained from a GeoCoordinate by using a class that implements ICivicAddressResolver.ResolveAddress(GeoCoordinate) returns a CivicAddress for the current location. If the location source is unable to resolve the coordinate position to a civic address, Unknown is returned.
| Object | |
| CivicAddress | |