GDPostalAddress
Object Hierarchy:
Description:
All the fields in the GDPostalAddress structure are private and should never be
accessed directly.
Namespace: GData
Package: libgdata
Content:
Properties:
-
public string address { set; get; }
The postal address itself, formatted and unstructured. It is preferred to use the other, structured
properties rather than this one.
-
public string agent { set; get; }
The agent who actually receives the mail. Used in work addresses. Also for "in care of" or "c/o".
-
public string city { set; get; }
Can be city, village, town, borough, etc. This is the postal town and not necessarily the place of
residence or place of business.
-
public string country { get; }
-
public string country_code { get; }
The ISO 3166-1 alpha-2 country code for the country in
country. Since this is paired with
country, they must both be set with
set_country.
-
public string house_name { set; get; }
Used in places where houses or buildings have names (and not necessarily numbers).
-
public bool is_primary { set; get; }
Indicates which postal address out of a group is primary.
-
public string label { set; get; }
A simple string value used to name this postal address. It allows UIs to display a label such as "Work",
"Personal", "Preferred", etc.
-
public string mail_class { set; get; }
-
public string neighborhood { set; get; }
This is used to disambiguate a street address when a city contains more than one street with the same
name, or to specify a small place whose mail is routed through a larger postal town. In China it could be a county or a minor city.
-
public string po_box { set; get; }
Covers actual P.O. boxes, drawers, locked bags, etc. This is usually but not always mutually exclusive
with street.
-
public string postcode { set; get; }
Postal code. Usually country-wide, but sometimes specific to the city (e.g. "2" in "Dublin 2, Ireland"
addresses).
-
public string region { set; get; }
A state, province, county (in Ireland), Land (in Germany), departement (in France), etc.
-
public string relation_type { set; get; }
-
public string street { set; get; }
Can be street, avenue, road, etc. This element also includes the house number and
room/apartment/flat/floor number.
-
public string subregion { set; get; }
Handles administrative districts such as U.S. or U.K. counties that are not used for mail addressing
purposes. Subregion is not intended for delivery addresses.
-
public string usage { set; get; }
Creation methods:
Methods: