In The Hand LtdIn The Hand
CivicAddress Class
NamespacesInTheHand.Device.LocationCivicAddress
.NET Components for Mobility
Represents a civic address. A civic address can include fields such as street address, postal code, state/province, and country or region.
Declaration Syntax
C#Visual Basic
public class CivicAddress
Public Class CivicAddress
Members
All MembersConstructorsMethodsPropertiesFields



IconMemberDescription
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)
Determines whether the specified Object is equal to the current 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()()()()
Returns a String that represents the current Object.
(Inherited from Object.)
Unknown
Represents a CivicAddress that contains no data.

Remarks

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.

Inheritance Hierarchy
Object
CivicAddress

Assembly: InTheHand.Device (Module: InTheHand.Device) Version: 7.0.0.0