MapiPostalAddress Class

A postal address of a contact.

public sealed class MapiPostalAddress

Constructors

NameDescription
MapiPostalAddress()

MapiPostalAddress()

public MapiPostalAddress()

No documentation is available.

Properties

NameDescription
CityGets or sets the city.
CountryGets or sets the country.
IsEmptyGets whether no part of the address is set.
PostalCodeGets or sets the postal code.
StateOrProvinceGets or sets the state or the province.
StreetGets or sets the street.

Gets or sets the city.

public string? City { get; set; }

Property value

string?

Gets or sets the country.

public string? Country { get; set; }

Property value

string?

Gets whether no part of the address is set.

public bool IsEmpty { get; }

Property value

bool

Gets or sets the postal code.

public string? PostalCode { get; set; }

Property value

string?

StateOrProvince

MapiPostalAddress.cs

Gets or sets the state or the province.

public string? StateOrProvince { get; set; }

Property value

string?

Gets or sets the street.

public string? Street { get; set; }

Property value

string?

Methods

NameDescription
ToString()Returns the parts of the address, separated by commas.

Returns the parts of the address, separated by commas.

public override string ToString()

Returns

string The address.