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 Object.

Public Member Functions

bool get_IsEmpty ()
 Shows if MapiContactElectronicAddress is empty More...
 
System::String get_DisplayName () const
 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 () const
 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 () const
 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 () const
 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 () const
 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::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...
 

Static Public Member Functions

static System::SharedPtr< MapiContactElectronicAddressto_MapiContactElectronicAddress (System::String emailAddress)
 

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

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

Initializes a new instance of the MapiContactElectronicAddress class.

◆ MapiContactElectronicAddress() [2/4]

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() [3/4]

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

Initializes a new instance of the MapiContactElectronicAddress class.

Parameters
emailAddressThe email address.

◆ MapiContactElectronicAddress() [4/4]

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.

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 ( ) const

Gets the address type of an electronic address

◆ get_DisplayName()

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

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

◆ get_EmailAddress()

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

Gets the e-mail address of the contact

◆ get_FaxNumber()

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

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 ( ) const

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.

◆ 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.