Aspose::Email::Mime::MimeHeader Class Reference

Represents the mime header defined in RFC 2822. More...

Inherits Object.

Public Member Functions

System::String get_Name () const
 Gets the name. More...
 
System::String get_RawContent () const
 Gets the content of the raw. More...
 
 MimeHeader (System::String name, System::String value)
 Initializes a new instance of the MimeHeader class. More...
 
System::SharedPtr< MimeHeaderClone ()
 Clones this instance. More...
 
System::String ToString () const override
 Returns a T:System::String that represents the current T:System::Object. More...
 

Detailed Description

Represents the mime header defined in RFC 2822.

Constructor & Destructor Documentation

◆ MimeHeader()

Aspose::Email::Mime::MimeHeader::MimeHeader ( System::String  name,
System::String  value 
)

Initializes a new instance of the MimeHeader class.

Parameters
nameThe MimeHeader name.
valueThe MimeHeader value.

Member Function Documentation

◆ Clone()

System::SharedPtr<MimeHeader> Aspose::Email::Mime::MimeHeader::Clone ( )

Clones this instance.

Returns
Returns new instance of the cloned MimeHeader class.

◆ get_Name()

System::String Aspose::Email::Mime::MimeHeader::get_Name ( ) const

Gets the name.

The name.

◆ get_RawContent()

System::String Aspose::Email::Mime::MimeHeader::get_RawContent ( ) const

Gets the content of the raw.

The content of the raw.

◆ ToString()

System::String Aspose::Email::Mime::MimeHeader::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.