次の方法で共有


PidLidPostalAddressId Canonical Property

This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

Specifies which physical address is the contact’s mailing address.

Associated properties:

dispidPostalAddressId

Property set:

PSETID_Address

Long ID (LID):

0x00008022

Data type:

PT_LONG

Area:

Contact

Remarks

If present, this property must have one of the values that are specified in the table below or in [MS-OXOCNTC]. If not set, the application should assume that the value is “0x00000000”.

Value

Description

0x00000000

No address is selected as the mailing address. PR_STREET_ADDRESS (PidTagStreetAddress), PR_LOCALITY (PidTagLocality), PR_STATE_OR_PROVINCE (PidTagStateOrProvince), PR_POSTAL_CODE (PidTagPostalCode), PR_COUNTRY (PidTagCountry), dispidAddressCountryCode (PidLidAddressCountryCode), and PR_POSTAL_ADDRESS (PidTagPostalAddress) all must not be set.

0x00000001

The Home Address is the mailing address. The values of the PR_STREET_ADDRESS, PR_LOCALITY, PR_STATE_OR_PROVINCE, PR_POSTAL_CODE, PR_POST_OFFICE_BOX (PidTagPostOfficeBox), PR_COUNTRY, dispidAddressCountryCode, and PR_POSTAL_ADDRESS properties must be equal to the values of the PR_HOME_ADDRESS_STREET (PidTagHomeAddressStreet), PR_HOME_ADDRESS_CITY (PidTagHomeAddressCity), PR_HOME_ADDRESS_STATE_OR_PROVINCE (PidTagHomeAddressStateOrProvince), PR_HOME_ADDRESS_POSTAL_CODE (PidTagHomeAddressPostalCode), PR_HOME_ADDRESS_POST_OFFICE_BOX (PidTagHomeAddressPostOfficeBox), PR_HOME_ADDRESS_COUNTRY (PidTagHomeAddressCountry), dispidHomeAddressCountryCode (PidLidHomeAddressCountryCode), and dispidHomeAddress (PidLidHomeAddress) properties, respectively.

0x00000002

The Work Address is the mailing address. The values of the PR_STREET_ADDRESS, PR_LOCALITY, PR_STATE_OR_PROVINCE, PR_POSTAL_CODE, PR_POST_OFFICE_BOX, PR_COUNTRY, dispidAddressCountryCode, and PR_POSTAL_ADDRESS properties must be equal to the values of the dispidWorkAddressStreet (PidLidWorkAddressStreet), dispidWorkAddressCity (PidLidWorkAddressCity), dispidWorkAddressState (PidLidWorkAddressState), dispidWorkAddressPostalCode (PidLidWorkAddressPostalCode), dispidWorkAddressPostOfficeBox (PidLidWorkAddressPostOfficeBox), dispidWorkAddressCountry (PidLidWorkAddressCountry), dispidWorkAddressCountryCode (PidLidWorkAddressCountryCode), and dispidWorkAddress (PidLidWorkAddress) properties, respectively.

0x00000003

The Other Address is the mailing address. The values of the, PR_STREET_ADDRESS, PR_LOCALITY, PR_STATE_OR_PROVINCE, PR_POSTAL_CODE, PR_POST_OFFICE_BOX, PR_COUNTRY, dispidAddressCountryCode, and PR_POSTAL_ADDRESS properties must be equal to the values of the PR_OTHER_ADDRESS_STREET (PidTagOtherAddressStreet), PR_OTHER_ADDRESS_CITY (PidTagOtherAddressCity), PR_OTHER_ADDRESS_STATE_OR_PROVINCE (PidTagOtherAddressStateOrProvince), PR_OTHER_ADDRESS_POSTAL_CODE (PidTagOtherAddressPostalCode), PR_OTHER_ADDRESS_POST_OFFICE_BOX (PidTagOtherAddressPostOfficeBox), dispidOtherAddressCountryCode (PidLidOtherAddressCountryCode), and dispidOtherAddress (PidLidOtherAddress) properties, respectively.

Protocol Specifications

  • [MS-OXPROPS]
    Provides property set definitions and references to related Exchange Server protocol specifications.

  • [MS-OXOCNTC]
    Specifies the properties and operations that are permissible for contacts and personal distribution lists.

Header Files

  • Mapidefs.h
    Provides data type definitions.

See Also

Concepts

MAPI Properties

MAPI Canonical Properties

Mapping Canonical Property Names to MAPI Names

Mapping MAPI Names to Canonical Property Names