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 Aspose::Email::Mapi::MapiContactPropertySet.

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< MapiMessageItemBase > msg)
 
 MapiContactPhysicalAddressPropertySet (System::SharedPtr< MapiPropertyCollection > properties)
 Initializes a new instance of the MapiContactPhysicalAddressPropertySet class More...
 
 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 SetOwner (System::SharedPtr< MapiMessageItemBase > msg) override
 
- Public Member Functions inherited from Aspose::Email::Mapi::MapiContactPropertySet
System::String GetStringProperty (MapiNamedPropertyId nameId, System::String value)
 
void SetStringProperty (MapiNamedPropertyId nameId, System::String value, System::Guid psetId, System::String &prop)
 
bool GetBooleanProperty (MapiNamedPropertyId nameId, bool value)
 
void SetBooleanProperty (MapiNamedPropertyId nameId, bool value, System::Guid psetId, bool &prop)
 
System::DateTime GetDateTimeProperty (MapiNamedPropertyId nameId, System::DateTime value)
 
void SetDateTimeProperty (MapiNamedPropertyId nameId, System::DateTime value, System::Guid psetId, System::DateTime &prop)
 

Friends

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

Additional Inherited Members

- Protected Member Functions inherited from Aspose::Email::Mapi::MapiContactPropertySet
System::String GetStringProperty (int64_t tag, System::String value)
 
void SetStringProperty (int64_t tag, System::String value, System::String &prop)
 
void SetDateTimeProperty (int64_t tag, System::DateTime value, System::DateTime &prop)
 
- Protected Attributes inherited from Aspose::Email::Mapi::MapiContactPropertySet
System::SharedPtr< MapiMessageItemBasemsg
 

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/4]

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

Initializes a new instance of the MapiContactPhysicalAddressPropertySet class

◆ MapiContactPhysicalAddressPropertySet() [2/4]

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

◆ MapiContactPhysicalAddressPropertySet() [3/4]

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/4]

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

◆ SetOwner()

void Aspose::Email::Mapi::MapiContactPhysicalAddressPropertySet::SetOwner ( System::SharedPtr< MapiMessageItemBase msg)
overridevirtual

◆ 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