Export (0) Print
Expand All

2.1.3.3.1 Type: ADR

RFC reference: [RFC2426] section 3.2.1.

vCard data format: ADR;TYPE=[Type]:[PO Box];[Extended Address];[Street Address];[Locality];[Region];[Postal Code];[Country Name]

Brief description: Physical addresses that are associated with the object that the vCard represents.

Importing to and exporting from Contact Objects

The Contact object provides built-in support for three physical addresses: Home Address, Work Address, and Other Address. The following table shows the valid values for the vCard TYPE parameter and how they correspond to the Contact object properties. The default TYPE parameter value is "intl, postal, parcel, work".

TYPE parameter value

Contact object address

Contact object properties

work

Work Address

PidLidWorkAddressPostOfficeBox ([MS-OXOCNTC] section 2.2.1.3.7)

PidLidWorkAddressStreet ([MS-OXOCNTC] section 2.2.1.3.1)

PidLidWorkAddressCity ([MS-OXOCNTC] section 2.2.1.3.2)

PidLidWorkAddressState ([MS-OXOCNTC] section 2.2.1.3.3)

PidLidWorkAddressPostalCode ([MS-OXOCNTC] section 2.2.1.3.4)

PidLidWorkAddressCountry ([MS-OXOCNTC] section 2.2.1.3.5)

home

Home Address

PidTagHomeAddressPostOfficeBox ([MS-OXOCNTC] section 2.2.1.3.7)

PidTagHomeAddressStreet ([MS-OXOABK] section 2.2.4.20)

PidTagHomeAddressCity ([MS-OXOCNTC] section 2.2.1.3.2)

PidTagHomeAddressStateOrProvince ([MS-OXOCNTC] section 2.2.1.3.3)

PidTagHomeAddressPostalCode ([MS-OXOCNTC] section 2.2.1.3.4)

PidTagHomeAddressCountry ([MS-OXOCNTC] section 2.2.1.3.5)

postal, dom, intl, parcel (importing)

postal (exporting)

Other Address

PidTagOtherAddressPostOfficeBox ([MS-OXOCNTC] section 2.2.1.3.7)

PidTagOtherAddressStreet ([MS-OXOCNTC] section 2.2.1.3.1)

PidTagOtherAddressCity ([MS-OXOCNTC] section 2.2.1.3.2)

PidTagOtherAddressStateOrProvince ([MS-OXOCNTC] section 2.2.1.3.3)

PidTagOtherAddressPostalCode ([MS-OXOCNTC] section 2.2.1.3.4)

PidTagOtherAddressCountry ([MS-OXOCNTC] section 2.2.1.3.5)

When importing: If the TYPE parameter contains "pref", the PidLidPostalAddressId property ([MS-OXOCNTC] section 2.2.1.3.9) is set to indicate that that address is the contact's mailing address, and the Mailing Address properties of the Contact object are set as specified in [MS-OXOCNTC] section 2.2.1.3.9.

When exporting: The address that is selected as the mailing address by the PidLidPostalAddressId property gets the value "pref" included in its TYPE parameter.

The following table shows how the Home Address, Work Address, and Other Address properties of the Contact object correspond to each vCard property.

vCard property

Contact object properties

PO Box

PidLidWorkAddressPostOfficeBox

PidTagHomeAddressPostOfficeBox

PidTagOtherAddressPostOfficeBox

Extended Address, Street Address

PidLidWorkAddressStreet

PidTagHomeAddressStreet

PidTagOtherAddressStreet

Locality

PidLidWorkAddressCity

PidTagHomeAddressCity

PidTagOtherAddressCity

Region

PidLidWorkAddressState

PidTagHomeAddressStateOrProvince

PidTagOtherAddressStateOrProvince

Postal Code

PidLidWorkAddressPostalCode

PidTagHomeAddressPostalCode

PidTagOtherAddressPostalCode

Country Name

PidLidWorkAddressCountry

PidTagHomeAddressCountry

PidTagOtherAddressCountry

Show:
© 2014 Microsoft