Class MapiContactPhysicalAddress

MapiContactPhysicalAddress class

Represents a group of properties that define a physical address for a contact. This class provides functionality for managing contact physical addresses through properties such as street, city, state, postal code, country, and mail address flags.

public sealed class MapiContactPhysicalAddress : MapiContactAddress

Constructors

NameDescription
MapiContactPhysicalAddress()Initializes a new instance of the MapiContactPhysicalAddress class.

Properties

NameDescription
Address { get; set; }Specifies the complete address of the contact’s address
City { get; set; }Specifies the city or locality portion of the contact’s address
Country { get; set; }Specifies the country or region portion of the contact’s address
CountryCode { get; set; }Specifies the country code portion of the contact’s address
IsMailingAddress { get; set; }Gets or sets a value indicating whether this address is mailing address
PostalCode { get; set; }Specifies the postal code (ZIP code) portion of the contact’s address
PostOfficeBox { get; set; }Gets or sets the post office box
StateOrProvince { get; set; }Specifies the state or province portion of the contact’s address
Street { get; set; }Specifies the street portion of the contact’s address

Remarks

Use this class to manage physical addresses in MapiContact items. The class supports multiple address types (home, work, other) and includes properties like Street, City, StateOrProvince, PostalCode, Country, and IsMailingAddress to fully define a physical address.

See Also