Aspose::Email::Mapi::MapiContactElectronicAddressPropertySet Class Referencefinal

Specify properties for up to three different e-mail addresses (Email1, Email2, and Email3) and three different fax addresses (Primary Fax, Business Fax, and Home Fax) More...

Inherits Aspose::Email::Mapi::MapiContactPropertySet.

Public Member Functions

bool get_IsEmpty ()
 Shows if MapiContactElectronicAddressPropertySet is empty More...
 
System::SharedPtr< MapiContactElectronicAddressget_DefaultEmailAddress () const
 Default value of electronic address Uses when user does not set any electronic address if UseAutocomplete property is set 'true' More...
 
void set_DefaultEmailAddress (System::SharedPtr< MapiContactElectronicAddress > value)
 Default value of electronic address Uses when user does not set any electronic address if UseAutocomplete property is set 'true' More...
 
bool get_UseAutocomplete () const
 Indicates that one electronic address is completed automatically in case if user does not set any electronic address More...
 
void set_UseAutocomplete (bool value)
 Indicates that one electronic address is completed automatically in case if user does not set any electronic address More...
 
bool get_EnableAutocomplete () const
 
void set_EnableAutocomplete (bool value)
 
System::SharedPtr< MapiContactElectronicAddressget_Email1 ()
 Refers to the group of properties that define the first e-mail address for a contact. More...
 
void set_Email1 (System::SharedPtr< MapiContactElectronicAddress > value)
 Refers to the group of properties that define the first e-mail address for a contact. More...
 
System::SharedPtr< MapiContactElectronicAddressget_Email2 () const
 Refers to the group of properties that define the second e-mail address for a contact. More...
 
void set_Email2 (System::SharedPtr< MapiContactElectronicAddress > value)
 Refers to the group of properties that define the second e-mail address for a contact. More...
 
System::SharedPtr< MapiContactElectronicAddressget_Email3 () const
 Refers to the group of properties that define the third e-mail address for a contact. More...
 
void set_Email3 (System::SharedPtr< MapiContactElectronicAddress > value)
 Refers to the group of properties that define the third e-mail address for a contact. More...
 
System::SharedPtr< MapiContactElectronicAddressget_PrimaryFax () const
 Refers to the group of properties that define the primary fax address for a contact. More...
 
void set_PrimaryFax (System::SharedPtr< MapiContactElectronicAddress > value)
 Refers to the group of properties that define the primary fax address for a contact. More...
 
System::SharedPtr< MapiContactElectronicAddressget_BusinessFax () const
 Refers to the group of properties that define the business fax address for a contact. More...
 
void set_BusinessFax (System::SharedPtr< MapiContactElectronicAddress > value)
 Refers to the group of properties that define the business fax address for a contact. More...
 
System::SharedPtr< MapiContactElectronicAddressget_HomeFax () const
 Refers to the group of properties that define the home fax address for a contact. More...
 
void set_HomeFax (System::SharedPtr< MapiContactElectronicAddress > value)
 Refers to the group of properties that define the home fax address for a contact. More...
 
 MapiContactElectronicAddressPropertySet (System::SharedPtr< MapiMessageItemBase > msg)
 Initializes a new instance of the MapiContactElectronicAddressPropertySet class. More...
 
 MapiContactElectronicAddressPropertySet ()
 Initializes a new instance of the MapiContactElectronicAddressPropertySet class More...
 
 MapiContactElectronicAddressPropertySet (System::SharedPtr< MapiPropertyCollection > properties)
 Initializes a new instance of the MapiContactElectronicAddressPropertySet class More...
 
 MapiContactElectronicAddressPropertySet (System::SharedPtr< Aspose::Email::PersonalInfo::VCard::VCardHeaderList > properties)
 Initializes a new instance of the MapiContactElectronicAddressPropertySet class More...
 
 MapiContactElectronicAddressPropertySet (System::String primaryEmailAddress)
 Initializes a new instance of the MapiContactElectronicAddressPropertySet class. More...
 
virtual void set_Email1 (System::String emailAddress)
 
void ToVCard (System::SharedPtr< Aspose::Email::PersonalInfo::VCard::VCardHeaderList > vCardProperties)
 Converts this MapiContactElectronicAddressPropertySet into vCard properties and adds them to the specified VCardHeaderList More...
 
void SetOwner (System::SharedPtr< MapiMessageItemBase > msg) override
 
void SetProperties ()
 Sets the message properties. More...
 
- 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::Clients::Exchange::WebService::Implementation::Contacts::Create::EwsClientContactCreate
 
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 properties for up to three different e-mail addresses (Email1, Email2, and Email3) and three different fax addresses (Primary Fax, Business Fax, and Home Fax)

Constructor & Destructor Documentation

◆ MapiContactElectronicAddressPropertySet() [1/5]

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

Initializes a new instance of the MapiContactElectronicAddressPropertySet class.

Parameters
msgThe MapiMessage

◆ MapiContactElectronicAddressPropertySet() [2/5]

Aspose::Email::Mapi::MapiContactElectronicAddressPropertySet::MapiContactElectronicAddressPropertySet ( )

Initializes a new instance of the MapiContactElectronicAddressPropertySet class

◆ MapiContactElectronicAddressPropertySet() [3/5]

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

Initializes a new instance of the MapiContactElectronicAddressPropertySet class

Parameters
propertiesA MapiPropertyCollection containing contact e-mail addresses properties

◆ MapiContactElectronicAddressPropertySet() [4/5]

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

Initializes a new instance of the MapiContactElectronicAddressPropertySet class

Parameters
propertiesA VCardHeaderList containing contact e-mail addresses properties

◆ MapiContactElectronicAddressPropertySet() [5/5]

Aspose::Email::Mapi::MapiContactElectronicAddressPropertySet::MapiContactElectronicAddressPropertySet ( System::String  primaryEmailAddress)

Initializes a new instance of the MapiContactElectronicAddressPropertySet class.

Parameters
primaryEmailAddressA contact primary email address.
Exceptions
ArgumentExceptionprimaryEmailAddress is null or empty.

Member Function Documentation

◆ get_BusinessFax()

System::SharedPtr<MapiContactElectronicAddress> Aspose::Email::Mapi::MapiContactElectronicAddressPropertySet::get_BusinessFax ( ) const

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

◆ get_DefaultEmailAddress()

System::SharedPtr<MapiContactElectronicAddress> Aspose::Email::Mapi::MapiContactElectronicAddressPropertySet::get_DefaultEmailAddress ( ) const

Default value of electronic address Uses when user does not set any electronic address if UseAutocomplete property is set 'true'

◆ get_Email1()

System::SharedPtr<MapiContactElectronicAddress> Aspose::Email::Mapi::MapiContactElectronicAddressPropertySet::get_Email1 ( )

Refers to the group of properties that define the first e-mail address for a contact.

◆ get_Email2()

System::SharedPtr<MapiContactElectronicAddress> Aspose::Email::Mapi::MapiContactElectronicAddressPropertySet::get_Email2 ( ) const

Refers to the group of properties that define the second e-mail address for a contact.

◆ get_Email3()

System::SharedPtr<MapiContactElectronicAddress> Aspose::Email::Mapi::MapiContactElectronicAddressPropertySet::get_Email3 ( ) const

Refers to the group of properties that define the third e-mail address for a contact.

◆ get_EnableAutocomplete()

bool Aspose::Email::Mapi::MapiContactElectronicAddressPropertySet::get_EnableAutocomplete ( ) const

◆ get_HomeFax()

System::SharedPtr<MapiContactElectronicAddress> Aspose::Email::Mapi::MapiContactElectronicAddressPropertySet::get_HomeFax ( ) const

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

◆ get_IsEmpty()

bool Aspose::Email::Mapi::MapiContactElectronicAddressPropertySet::get_IsEmpty ( )

◆ get_PrimaryFax()

System::SharedPtr<MapiContactElectronicAddress> Aspose::Email::Mapi::MapiContactElectronicAddressPropertySet::get_PrimaryFax ( ) const

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

◆ get_UseAutocomplete()

bool Aspose::Email::Mapi::MapiContactElectronicAddressPropertySet::get_UseAutocomplete ( ) const

Indicates that one electronic address is completed automatically in case if user does not set any electronic address

◆ set_BusinessFax()

void Aspose::Email::Mapi::MapiContactElectronicAddressPropertySet::set_BusinessFax ( System::SharedPtr< MapiContactElectronicAddress value)

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

◆ set_DefaultEmailAddress()

void Aspose::Email::Mapi::MapiContactElectronicAddressPropertySet::set_DefaultEmailAddress ( System::SharedPtr< MapiContactElectronicAddress value)

Default value of electronic address Uses when user does not set any electronic address if UseAutocomplete property is set 'true'

◆ set_Email1() [1/2]

void Aspose::Email::Mapi::MapiContactElectronicAddressPropertySet::set_Email1 ( System::SharedPtr< MapiContactElectronicAddress value)

Refers to the group of properties that define the first e-mail address for a contact.

◆ set_Email1() [2/2]

virtual void Aspose::Email::Mapi::MapiContactElectronicAddressPropertySet::set_Email1 ( System::String  emailAddress)
virtual

◆ set_Email2()

void Aspose::Email::Mapi::MapiContactElectronicAddressPropertySet::set_Email2 ( System::SharedPtr< MapiContactElectronicAddress value)

Refers to the group of properties that define the second e-mail address for a contact.

◆ set_Email3()

void Aspose::Email::Mapi::MapiContactElectronicAddressPropertySet::set_Email3 ( System::SharedPtr< MapiContactElectronicAddress value)

Refers to the group of properties that define the third e-mail address for a contact.

◆ set_EnableAutocomplete()

void Aspose::Email::Mapi::MapiContactElectronicAddressPropertySet::set_EnableAutocomplete ( bool  value)

◆ set_HomeFax()

void Aspose::Email::Mapi::MapiContactElectronicAddressPropertySet::set_HomeFax ( System::SharedPtr< MapiContactElectronicAddress value)

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

◆ set_PrimaryFax()

void Aspose::Email::Mapi::MapiContactElectronicAddressPropertySet::set_PrimaryFax ( System::SharedPtr< MapiContactElectronicAddress value)

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

◆ set_UseAutocomplete()

void Aspose::Email::Mapi::MapiContactElectronicAddressPropertySet::set_UseAutocomplete ( bool  value)

Indicates that one electronic address is completed automatically in case if user does not set any electronic address

◆ SetOwner()

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

◆ SetProperties()

void Aspose::Email::Mapi::MapiContactElectronicAddressPropertySet::SetProperties ( )

Sets the message properties.

◆ ToVCard()

void Aspose::Email::Mapi::MapiContactElectronicAddressPropertySet::ToVCard ( System::SharedPtr< Aspose::Email::PersonalInfo::VCard::VCardHeaderList >  vCardProperties)

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

Parameters
vCardPropertiesA VCardHeaderList

Friends And Related Function Documentation

◆ Aspose::Email::Clients::Exchange::WebService::Implementation::Contacts::Create::EwsClientContactCreate

friend class Aspose::Email::Clients::Exchange::WebService::Implementation::Contacts::Create::EwsClientContactCreate
friend

◆ Aspose::Email::Mapi::MapiContact

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

◆ Aspose::Email::Tools::ContactConverter

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