Aspose::Email::Mapi::MapiContactPhysicalAddress Class Referencefinal

Refers to the group of properties that define physical address for a contact. More...

Inherits Aspose::Email::Mapi::MapiContactAddress.

Public Member Functions

bool get_IsMailingAddress ()
 Gets a value indicating whether this address is mailing address More...
 
void set_IsMailingAddress (bool value)
 Sets a value indicating whether this address is mailing address More...
 
System::String get_Street ()
 Specifies the street portion of the contact's address More...
 
void set_Street (System::String value)
 Specifies the street portion of the contact's address More...
 
System::String get_City ()
 Specifies the city or locality portion of the contact's address More...
 
void set_City (System::String value)
 Specifies the city or locality portion of the contact's address More...
 
System::String get_StateOrProvince ()
 Specifies the state or province portion of the contact's address More...
 
void set_StateOrProvince (System::String value)
 Specifies the state or province portion of the contact's address More...
 
System::String get_PostalCode ()
 Specifies the postal code (ZIP code) portion of the contact's address More...
 
void set_PostalCode (System::String value)
 Specifies the postal code (ZIP code) portion of the contact's address More...
 
System::String get_Country ()
 Specifies the country or region portion of the contact's address More...
 
void set_Country (System::String value)
 Specifies the country or region portion of the contact's address More...
 
System::String get_CountryCode ()
 Specifies the country code portion of the contact's address More...
 
void set_CountryCode (System::String value)
 Specifies the country code portion of the contact's address More...
 
System::String get_Address ()
 Specifies the complete address of the contact's address More...
 
void set_Address (System::String value)
 Specifies the complete address of the contact's address More...
 
System::String get_PostOfficeBox ()
 Gets the post office box More...
 
void set_PostOfficeBox (System::String value)
 Sets the post office box More...
 
 MapiContactPhysicalAddress ()
 Initializes a new instance of the MapiContactPhysicalAddress class. More...
 
 MapiContactPhysicalAddress (System::SharedPtr< MapiMessageItemBase > msg, MapiContactAddressType type)
 
System::String ToVCardValue (System::String officeLocation)
 Composes the string according to vCard format More...
 
- Public Member Functions inherited from Aspose::Email::Mapi::MapiContactAddress
void SetOwner (System::SharedPtr< MapiMessageItemBase > msg, MapiContactAddressType type)
 
void SetStringNamedProperty (System::String value, MapiNamedPropertyId propId)
 
 MapiContactAddress ()
 

Static Public Member Functions

static System::SharedPtr< MapiContactPhysicalAddressParseFromVCard (System::String value)
 Parses a MapiContactPhysicalAddress from the given vCard value More...
 

Protected Member Functions

void SetProperties () override
 Sets the message properties. More...
 
- Protected Member Functions inherited from Aspose::Email::Mapi::MapiContactAddress
System::String GetStringProperty (System::SharedPtr< System::Object > propId, System::String value)
 
void SetStringProperty (System::SharedPtr< System::Object > propId, System::String value, System::String &prop)
 

Friends

class Aspose::Email::Mapi::MapiContactPhysicalAddressPropertySet
 

Additional Inherited Members

- Public Attributes inherited from Aspose::Email::Mapi::MapiContactAddress
MapiContactAddressType type
 
- Protected Attributes inherited from Aspose::Email::Mapi::MapiContactAddress
System::SharedPtr< MapiMessageItemBasemsg
 

Detailed Description

Refers to the group of properties that define physical address for a contact.

Constructor & Destructor Documentation

◆ MapiContactPhysicalAddress() [1/2]

Aspose::Email::Mapi::MapiContactPhysicalAddress::MapiContactPhysicalAddress ( )

Initializes a new instance of the MapiContactPhysicalAddress class.

◆ MapiContactPhysicalAddress() [2/2]

Aspose::Email::Mapi::MapiContactPhysicalAddress::MapiContactPhysicalAddress ( System::SharedPtr< MapiMessageItemBase msg,
MapiContactAddressType  type 
)

Member Function Documentation

◆ get_Address()

System::String Aspose::Email::Mapi::MapiContactPhysicalAddress::get_Address ( )

Specifies the complete address of the contact's address

◆ get_City()

System::String Aspose::Email::Mapi::MapiContactPhysicalAddress::get_City ( )

Specifies the city or locality portion of the contact's address

◆ get_Country()

System::String Aspose::Email::Mapi::MapiContactPhysicalAddress::get_Country ( )

Specifies the country or region portion of the contact's address

◆ get_CountryCode()

System::String Aspose::Email::Mapi::MapiContactPhysicalAddress::get_CountryCode ( )

Specifies the country code portion of the contact's address

◆ get_IsMailingAddress()

bool Aspose::Email::Mapi::MapiContactPhysicalAddress::get_IsMailingAddress ( )

Gets a value indicating whether this address is mailing address

◆ get_PostalCode()

System::String Aspose::Email::Mapi::MapiContactPhysicalAddress::get_PostalCode ( )

Specifies the postal code (ZIP code) portion of the contact's address

◆ get_PostOfficeBox()

System::String Aspose::Email::Mapi::MapiContactPhysicalAddress::get_PostOfficeBox ( )

Gets the post office box

◆ get_StateOrProvince()

System::String Aspose::Email::Mapi::MapiContactPhysicalAddress::get_StateOrProvince ( )

Specifies the state or province portion of the contact's address

◆ get_Street()

System::String Aspose::Email::Mapi::MapiContactPhysicalAddress::get_Street ( )

Specifies the street portion of the contact's address

◆ ParseFromVCard()

static System::SharedPtr<MapiContactPhysicalAddress> Aspose::Email::Mapi::MapiContactPhysicalAddress::ParseFromVCard ( System::String  value)
static

Parses a MapiContactPhysicalAddress from the given vCard value

Parameters
valueA System::String
Returns
A parsed MapiContactPhysicalAddress

◆ set_Address()

void Aspose::Email::Mapi::MapiContactPhysicalAddress::set_Address ( System::String  value)

Specifies the complete address of the contact's address

◆ set_City()

void Aspose::Email::Mapi::MapiContactPhysicalAddress::set_City ( System::String  value)

Specifies the city or locality portion of the contact's address

◆ set_Country()

void Aspose::Email::Mapi::MapiContactPhysicalAddress::set_Country ( System::String  value)

Specifies the country or region portion of the contact's address

◆ set_CountryCode()

void Aspose::Email::Mapi::MapiContactPhysicalAddress::set_CountryCode ( System::String  value)

Specifies the country code portion of the contact's address

◆ set_IsMailingAddress()

void Aspose::Email::Mapi::MapiContactPhysicalAddress::set_IsMailingAddress ( bool  value)

Sets a value indicating whether this address is mailing address

◆ set_PostalCode()

void Aspose::Email::Mapi::MapiContactPhysicalAddress::set_PostalCode ( System::String  value)

Specifies the postal code (ZIP code) portion of the contact's address

◆ set_PostOfficeBox()

void Aspose::Email::Mapi::MapiContactPhysicalAddress::set_PostOfficeBox ( System::String  value)

Sets the post office box

◆ set_StateOrProvince()

void Aspose::Email::Mapi::MapiContactPhysicalAddress::set_StateOrProvince ( System::String  value)

Specifies the state or province portion of the contact's address

◆ set_Street()

void Aspose::Email::Mapi::MapiContactPhysicalAddress::set_Street ( System::String  value)

Specifies the street portion of the contact's address

◆ SetProperties()

void Aspose::Email::Mapi::MapiContactPhysicalAddress::SetProperties ( )
overrideprotectedvirtual

Sets the message properties.

Implements Aspose::Email::Mapi::MapiContactAddress.

◆ ToVCardValue()

System::String Aspose::Email::Mapi::MapiContactPhysicalAddress::ToVCardValue ( System::String  officeLocation)

Composes the string according to vCard format

Returns
A System::String representing this MapiContactPhysicalAddress in vCard format

Friends And Related Function Documentation

◆ Aspose::Email::Mapi::MapiContactPhysicalAddressPropertySet