Represents the mail message format.It can be in eml,msg or mhtml format. More...

Inherits Object.

Public Member Functions

bool Equals (System::SharedPtr< System::Object > obj) override
 Equalses the specified o. More...
 
int32_t GetHashCode () const override
 Serves as a hash function for a particular type. More...
 
System::SharedPtr< MailMessageSaveTypeToMailMessageSaveType ()
 Converts this instance into the equal MailMessageSaveType More...
 
System::String ToString () const override
 Returns a T:System::String that represents the current T:System::Object. More...
 

Static Public Member Functions

static System::SharedPtr< MessageFormatget_Tnef ()
 Indicates message in Tnef format. More...
 
static System::SharedPtr< MessageFormatget_Html ()
 Indicates message in Html format. More...
 
static System::SharedPtr< MessageFormatget_Eml ()
 Indicates message in Eml format. More...
 
static System::SharedPtr< MessageFormatget_Emlx ()
 Indicates message in Emlx format, used by Apple Mail. More...
 
static System::SharedPtr< MessageFormatget_Mht ()
 Indicates message in Mht format. More...
 
static System::SharedPtr< MessageFormatget_Msg ()
 Indicates message in Msg format, used by Microsoft Outlook. More...
 

Protected Member Functions

virtual ~MessageFormat ()
 

Detailed Description

Represents the mail message format.It can be in eml,msg or mhtml format.

Constructor & Destructor Documentation

◆ ~MessageFormat()

virtual Aspose::Email::MessageFormat::~MessageFormat ( )
protectedvirtual

Member Function Documentation

◆ Equals()

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

Equalses the specified o.

Parameters
objAn object to compare
Returns
Returns true if objects are an equal, otherwise returns false.

◆ get_Eml()

static System::SharedPtr<MessageFormat> Aspose::Email::MessageFormat::get_Eml ( )
static

Indicates message in Eml format.

◆ get_Emlx()

static System::SharedPtr<MessageFormat> Aspose::Email::MessageFormat::get_Emlx ( )
static

Indicates message in Emlx format, used by Apple Mail.

◆ get_Html()

static System::SharedPtr<MessageFormat> Aspose::Email::MessageFormat::get_Html ( )
static

Indicates message in Html format.

◆ get_Mht()

static System::SharedPtr<MessageFormat> Aspose::Email::MessageFormat::get_Mht ( )
static

Indicates message in Mht format.

◆ get_Msg()

static System::SharedPtr<MessageFormat> Aspose::Email::MessageFormat::get_Msg ( )
static

Indicates message in Msg format, used by Microsoft Outlook.

◆ get_Tnef()

static System::SharedPtr<MessageFormat> Aspose::Email::MessageFormat::get_Tnef ( )
static

Indicates message in Tnef format.

◆ GetHashCode()

int32_t Aspose::Email::MessageFormat::GetHashCode ( ) const
override

Serves as a hash function for a particular type.

Returns
A hash code for the current T:System::Object.

◆ ToMailMessageSaveType()

System::SharedPtr<MailMessageSaveType> Aspose::Email::MessageFormat::ToMailMessageSaveType ( )

Converts this instance into the equal MailMessageSaveType

Returns
An equal MailMessageSaveType

◆ ToString()

System::String Aspose::Email::MessageFormat::ToString ( ) const
override

Returns a T:System::String that represents the current T:System::Object.

Returns
A T:System::String that represents the current T:System::Object.