Aspose::Email::Mapi::MapiContactPhysicalAddressPropertySet Class Referencefinal

Specify three physical addresses: Home Address, Work Address, and Other Address. One of the addresses can be marked as the Mailing Address More...

Inherits Object.

Public Member Functions

System::SharedPtr< MapiContactPhysicalAddressget_WorkAddress () const
 Specifies the address of the contact's work More...
 
void set_WorkAddress (System::SharedPtr< MapiContactPhysicalAddress > value)
 Specifies the address of the contact's work More...
 
System::SharedPtr< MapiContactPhysicalAddressget_HomeAddress () const
 Specifies the address of the contact's home More...
 
void set_HomeAddress (System::SharedPtr< MapiContactPhysicalAddress > value)
 Specifies the address of the contact's home More...
 
System::SharedPtr< MapiContactPhysicalAddressget_OtherAddress () const
 Specifies the other contact's address More...
 
void set_OtherAddress (System::SharedPtr< MapiContactPhysicalAddress > value)
 Specifies the other contact's address More...
 
 MapiContactPhysicalAddressPropertySet ()
 Initializes a new instance of the MapiContactPhysicalAddressPropertySet class More...
 
 MapiContactPhysicalAddressPropertySet (System::SharedPtr< MapiMessage > msg)
 
 MapiContactPhysicalAddressPropertySet (System::SharedPtr< MapiPropertyCollection > properties)
 Initializes a new instance of the MapiContactPhysicalAddressPropertySet class More...
 
 MapiContactPhysicalAddressPropertySet (System::SharedPtr< MapiContactPhysicalAddress > workAddress, System::SharedPtr< MapiContactPhysicalAddress > homeAddress, System::SharedPtr< MapiContactPhysicalAddress > otherAddress)
 
 MapiContactPhysicalAddressPropertySet (System::SharedPtr< Aspose::Email::PersonalInfo::VCard::VCardHeaderList > properties)
 Initializes a new instance of the MapiContactPhysicalAddressPropertySet class More...
 
void ToVCard (System::SharedPtr< Aspose::Email::PersonalInfo::VCard::VCardHeaderList > vCardProperties, System::String officeLocation)
 Converts this MapiContactPhysicalAddressPropertySet into vCard properties and adds them to the specified VCardHeaderList More...
 
void SetProperties (System::SharedPtr< MapiMessage > msg)
 Sets the message properties. More...
 

Friends

class Aspose::Email::Tools::ContactConverter
 
class Aspose::Email::Mapi::MapiContact
 

Detailed Description

Specify three physical addresses: Home Address, Work Address, and Other Address. One of the addresses can be marked as the Mailing Address

Constructor & Destructor Documentation

◆ MapiContactPhysicalAddressPropertySet() [1/5]

Aspose::Email::Mapi::MapiContactPhysicalAddressPropertySet::MapiContactPhysicalAddressPropertySet ( )

Initializes a new instance of the MapiContactPhysicalAddressPropertySet class

◆ MapiContactPhysicalAddressPropertySet() [2/5]

Aspose::Email::Mapi::MapiContactPhysicalAddressPropertySet::MapiContactPhysicalAddressPropertySet ( System::SharedPtr< MapiMessage msg)

◆ MapiContactPhysicalAddressPropertySet() [3/5]

Aspose::Email::Mapi::MapiContactPhysicalAddressPropertySet::MapiContactPhysicalAddressPropertySet ( System::SharedPtr< MapiPropertyCollection properties)

Initializes a new instance of the MapiContactPhysicalAddressPropertySet class

Parameters
propertiesA MapiPropertyCollection containing contact physical addresses properties

◆ MapiContactPhysicalAddressPropertySet() [4/5]

Aspose::Email::Mapi::MapiContactPhysicalAddressPropertySet::MapiContactPhysicalAddressPropertySet ( System::SharedPtr< MapiContactPhysicalAddress workAddress,
System::SharedPtr< MapiContactPhysicalAddress homeAddress,
System::SharedPtr< MapiContactPhysicalAddress otherAddress 
)

◆ MapiContactPhysicalAddressPropertySet() [5/5]

Aspose::Email::Mapi::MapiContactPhysicalAddressPropertySet::MapiContactPhysicalAddressPropertySet ( System::SharedPtr< Aspose::Email::PersonalInfo::VCard::VCardHeaderList >  properties)

Initializes a new instance of the MapiContactPhysicalAddressPropertySet class

Parameters
propertiesA VCardHeaderList containing contact physical addresses properties

Member Function Documentation

◆ get_HomeAddress()

System::SharedPtr<MapiContactPhysicalAddress> Aspose::Email::Mapi::MapiContactPhysicalAddressPropertySet::get_HomeAddress ( ) const

Specifies the address of the contact's home

◆ get_OtherAddress()

System::SharedPtr<MapiContactPhysicalAddress> Aspose::Email::Mapi::MapiContactPhysicalAddressPropertySet::get_OtherAddress ( ) const

Specifies the other contact's address

◆ get_WorkAddress()

System::SharedPtr<MapiContactPhysicalAddress> Aspose::Email::Mapi::MapiContactPhysicalAddressPropertySet::get_WorkAddress ( ) const

Specifies the address of the contact's work

◆ set_HomeAddress()

void Aspose::Email::Mapi::MapiContactPhysicalAddressPropertySet::set_HomeAddress ( System::SharedPtr< MapiContactPhysicalAddress value)

Specifies the address of the contact's home

◆ set_OtherAddress()

void Aspose::Email::Mapi::MapiContactPhysicalAddressPropertySet::set_OtherAddress ( System::SharedPtr< MapiContactPhysicalAddress value)

Specifies the other contact's address

◆ set_WorkAddress()

void Aspose::Email::Mapi::MapiContactPhysicalAddressPropertySet::set_WorkAddress ( System::SharedPtr< MapiContactPhysicalAddress value)

Specifies the address of the contact's work

◆ SetProperties()

void Aspose::Email::Mapi::MapiContactPhysicalAddressPropertySet::SetProperties ( System::SharedPtr< MapiMessage msg)

Sets the message properties.

Parameters
msgThe MapiMessage.

◆ ToVCard()

void Aspose::Email::Mapi::MapiContactPhysicalAddressPropertySet::ToVCard ( System::SharedPtr< Aspose::Email::PersonalInfo::VCard::VCardHeaderList >  vCardProperties,
System::String  officeLocation 
)

Converts this MapiContactPhysicalAddressPropertySet into vCard properties and adds them to the specified VCardHeaderList

Parameters
vCardPropertiesA VCardHeaderList

Friends And Related Function Documentation

◆ Aspose::Email::Mapi::MapiContact

friend class Aspose::Email::Mapi::MapiContact
friend

◆ Aspose::Email::Tools::ContactConverter

friend class Aspose::Email::Tools::ContactConverter
friend