Aspose::Email::Mapi::MapiContactElectronicAddress Class Referencefinal

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

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

Public Member Functions

bool get_IsEmpty ()
 Shows if MapiContactElectronicAddress is empty More...
 
System::String get_DisplayName ()
 Gets the user-readable display name for the e-mail address More...
 
void set_DisplayName (System::String value)
 Sets the user-readable display name for the e-mail address More...
 
System::String get_OriginalDisplayName ()
 Gets the SMTP e-mail address that corresponds to the e-mail address for the Contact object. More...
 
void set_OriginalDisplayName (System::String value)
 Sets the SMTP e-mail address that corresponds to the e-mail address for the Contact object. More...
 
System::String get_AddressType ()
 Gets the address type of an electronic address More...
 
void set_AddressType (System::String value)
 Sets the address type of an electronic address More...
 
System::String get_EmailAddress ()
 Gets the e-mail address of the contact More...
 
void set_EmailAddress (System::String value)
 Sets the e-mail address of the contact More...
 
System::String get_FaxNumber ()
 Gets the telephone number of the mail user's primary fax machine More...
 
void set_FaxNumber (System::String value)
 Sets the telephone number of the mail user's primary fax machine More...
 
 MapiContactElectronicAddress ()
 Initializes a new instance of the MapiContactElectronicAddress class. More...
 
 MapiContactElectronicAddress (System::SharedPtr< MapiMessageItemBase > msg, MapiContactAddressType type)
 
 MapiContactElectronicAddress (System::String displayName, System::String addressType, System::String emailAddress)
 Initializes a new instance of the MapiContactElectronicAddress class. More...
 
 MapiContactElectronicAddress (System::String emailAddress)
 Initializes a new instance of the MapiContactElectronicAddress class. More...
 
 MapiContactElectronicAddress (System::String faxNumber, System::String emailAddress)
 Initializes a new instance of the MapiContactElectronicAddress class. More...
 
bool Equals (System::SharedPtr< System::Object > obj) override
 Determines whether the specified object is equal to the current object. More...
 
int32_t GetHashCode () const override
 
System::String ToString () const override
 Returns a string that represents the current object. 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< MapiContactElectronicAddressto_MapiContactElectronicAddress (System::String emailAddress)
 

Protected Member Functions

void SetProperties () override
 
virtual ~MapiContactElectronicAddress ()
 
- 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::MapiContactElectronicAddressPropertySet
 

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 the e-mail address or fax address for a contact.

Constructor & Destructor Documentation

◆ MapiContactElectronicAddress() [1/5]

Aspose::Email::Mapi::MapiContactElectronicAddress::MapiContactElectronicAddress ( )

Initializes a new instance of the MapiContactElectronicAddress class.

◆ MapiContactElectronicAddress() [2/5]

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

◆ MapiContactElectronicAddress() [3/5]

Aspose::Email::Mapi::MapiContactElectronicAddress::MapiContactElectronicAddress ( System::String  displayName,
System::String  addressType,
System::String  emailAddress 
)

Initializes a new instance of the MapiContactElectronicAddress class.

Parameters
displayNameThe display name.
addressTypeType of the address.
emailAddressThe email address.

◆ MapiContactElectronicAddress() [4/5]

Aspose::Email::Mapi::MapiContactElectronicAddress::MapiContactElectronicAddress ( System::String  emailAddress)

Initializes a new instance of the MapiContactElectronicAddress class.

Parameters
emailAddressThe email address.

◆ MapiContactElectronicAddress() [5/5]

Aspose::Email::Mapi::MapiContactElectronicAddress::MapiContactElectronicAddress ( System::String  faxNumber,
System::String  emailAddress 
)

Initializes a new instance of the MapiContactElectronicAddress class.

Parameters
faxNumberThe fax number.
emailAddressThe email address.

◆ ~MapiContactElectronicAddress()

virtual Aspose::Email::Mapi::MapiContactElectronicAddress::~MapiContactElectronicAddress ( )
protectedvirtual

Member Function Documentation

◆ Equals()

bool Aspose::Email::Mapi::MapiContactElectronicAddress::Equals ( System::SharedPtr< System::Object >  obj)
override

Determines whether the specified object is equal to the current object.

Parameters
objThe object to compare with the current object.
Returns
true if the specified object is equal to the current object; otherwise, false.

◆ get_AddressType()

System::String Aspose::Email::Mapi::MapiContactElectronicAddress::get_AddressType ( )

Gets the address type of an electronic address

◆ get_DisplayName()

System::String Aspose::Email::Mapi::MapiContactElectronicAddress::get_DisplayName ( )

Gets the user-readable display name for the e-mail address

◆ get_EmailAddress()

System::String Aspose::Email::Mapi::MapiContactElectronicAddress::get_EmailAddress ( )

Gets the e-mail address of the contact

◆ get_FaxNumber()

System::String Aspose::Email::Mapi::MapiContactElectronicAddress::get_FaxNumber ( )

Gets the telephone number of the mail user's primary fax machine

◆ get_IsEmpty()

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

Shows if MapiContactElectronicAddress is empty

◆ get_OriginalDisplayName()

System::String Aspose::Email::Mapi::MapiContactElectronicAddress::get_OriginalDisplayName ( )

Gets the SMTP e-mail address that corresponds to the e-mail address for the Contact object.

The the SMTP e-mail address.

◆ GetHashCode()

int32_t Aspose::Email::Mapi::MapiContactElectronicAddress::GetHashCode ( ) const
override

◆ set_AddressType()

void Aspose::Email::Mapi::MapiContactElectronicAddress::set_AddressType ( System::String  value)

Sets the address type of an electronic address

◆ set_DisplayName()

void Aspose::Email::Mapi::MapiContactElectronicAddress::set_DisplayName ( System::String  value)

Sets the user-readable display name for the e-mail address

◆ set_EmailAddress()

void Aspose::Email::Mapi::MapiContactElectronicAddress::set_EmailAddress ( System::String  value)

Sets the e-mail address of the contact

◆ set_FaxNumber()

void Aspose::Email::Mapi::MapiContactElectronicAddress::set_FaxNumber ( System::String  value)

Sets the telephone number of the mail user's primary fax machine

◆ set_OriginalDisplayName()

void Aspose::Email::Mapi::MapiContactElectronicAddress::set_OriginalDisplayName ( System::String  value)

Sets the SMTP e-mail address that corresponds to the e-mail address for the Contact object.

The the SMTP e-mail address.

◆ SetProperties()

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

◆ to_MapiContactElectronicAddress()

static System::SharedPtr<MapiContactElectronicAddress> Aspose::Email::Mapi::MapiContactElectronicAddress::to_MapiContactElectronicAddress ( System::String  emailAddress)
static

◆ ToString()

System::String Aspose::Email::Mapi::MapiContactElectronicAddress::ToString ( ) const
override

Returns a string that represents the current object.

Returns
A string that represents the current object.

Friends And Related Function Documentation

◆ Aspose::Email::Mapi::MapiContactElectronicAddressPropertySet