Represents a Content-Disposition header. More...
Inherits Object.
Public Member Functions | |
System::String | get_DispositionType () const |
Gets the type of the disposition. More... | |
void | set_DispositionType (System::String value) |
Sets the type of the disposition. More... | |
System::SharedPtr< TrackingStringDictionary > | get_Parameters () |
Gets the parameters. More... | |
System::String | get_FileName () |
Gets the file name for an attachment. More... | |
void | set_FileName (System::String value) |
Sets the file name for an attachment. More... | |
System::DateTime | get_CreationDate () |
Gets the creation date. More... | |
void | set_CreationDate (System::DateTime value) |
Sets the creation date. More... | |
System::DateTime | get_ModificationDate () |
Gets the modification date. More... | |
void | set_ModificationDate (System::DateTime value) |
Sets the modification date. More... | |
bool | get_Inline () |
Gets a value that determines the disposition type. More... | |
void | set_Inline (bool value) |
Sets a value that determines the disposition type. More... | |
System::DateTime | get_ReadDate () |
Gets the read date. More... | |
void | set_ReadDate (System::DateTime value) |
Sets the read date. More... | |
int64_t | get_Size () |
Gets the size of a file attachment. More... | |
void | set_Size (int64_t value) |
Sets the size of a file attachment. More... | |
bool | get_IsChanged () |
System::SharedPtr< ContentDisposition > | Clone () |
ContentDisposition () | |
Initializes a new instance of the ContentDisposition class. More... | |
ContentDisposition (System::String disposition) | |
Initializes a new instance of the ContentDisposition class. More... | |
void | Set (System::String contentDisposition, System::SharedPtr< HeaderCollection > headers) |
void | Persist (System::SharedPtr< HeaderCollection > headers, bool forcePersist) |
bool | Equals (System::SharedPtr< System::Object > obj) override |
Determines whether the specified System::Object is equal to this instance. More... | |
int32_t | GetHashCode () const override |
Returns a hash code for this instance. More... | |
System::String | ToString () const override |
Returns a System::String that represents this instance. More... | |
Friends | |
class | Aspose::Email::MailMessage |
class | Aspose::Email::Mime::HeaderCollection |
Represents a Content-Disposition header.
Aspose::Email::Mime::ContentDisposition::ContentDisposition | ( | ) |
Initializes a new instance of the ContentDisposition class.
Aspose::Email::Mime::ContentDisposition::ContentDisposition | ( | System::String | disposition | ) |
Initializes a new instance of the ContentDisposition class.
disposition | A value that contains the disposition. |
System::SharedPtr<ContentDisposition> Aspose::Email::Mime::ContentDisposition::Clone | ( | ) |
|
override |
Determines whether the specified System::Object is equal to this instance.
obj | The System::Object to compare with this instance. |
true
if the specified System::Object is equal to this instance; otherwise, false
. System::DateTime Aspose::Email::Mime::ContentDisposition::get_CreationDate | ( | ) |
Gets the creation date.
A DateTime value that indicates the file creation date; otherwise, MinValue if no date was specified.
System::String Aspose::Email::Mime::ContentDisposition::get_DispositionType | ( | ) | const |
Gets the type of the disposition.
The String that contains the disposition type.
System::String Aspose::Email::Mime::ContentDisposition::get_FileName | ( | ) |
Gets the file name for an attachment.
The name of the file.
bool Aspose::Email::Mime::ContentDisposition::get_Inline | ( | ) |
Gets a value that determines the disposition type.
true if content in the attachment is presented inline; otherwise, false.
bool Aspose::Email::Mime::ContentDisposition::get_IsChanged | ( | ) |
System::DateTime Aspose::Email::Mime::ContentDisposition::get_ModificationDate | ( | ) |
Gets the modification date.
A DateTime value that indicates the file modification date; otherwise, MinValue if no date was specified.
System::SharedPtr<TrackingStringDictionary> Aspose::Email::Mime::ContentDisposition::get_Parameters | ( | ) |
Gets the parameters.
A StringDictionary that contains parameter name/value pairs.
System::DateTime Aspose::Email::Mime::ContentDisposition::get_ReadDate | ( | ) |
Gets the read date.
A DateTime value that indicates the file read date; otherwise, MinValue if no date was specified.
int64_t Aspose::Email::Mime::ContentDisposition::get_Size | ( | ) |
Gets the size of a file attachment.
A Int32 that specifies the number of bytes in the file attachment.
|
override |
Returns a hash code for this instance.
void Aspose::Email::Mime::ContentDisposition::Persist | ( | System::SharedPtr< HeaderCollection > | headers, |
bool | forcePersist | ||
) |
void Aspose::Email::Mime::ContentDisposition::Set | ( | System::String | contentDisposition, |
System::SharedPtr< HeaderCollection > | headers | ||
) |
void Aspose::Email::Mime::ContentDisposition::set_CreationDate | ( | System::DateTime | value | ) |
Sets the creation date.
A DateTime value that indicates the file creation date; otherwise, MinValue if no date was specified.
void Aspose::Email::Mime::ContentDisposition::set_DispositionType | ( | System::String | value | ) |
Sets the type of the disposition.
The String that contains the disposition type.
void Aspose::Email::Mime::ContentDisposition::set_FileName | ( | System::String | value | ) |
Sets the file name for an attachment.
The name of the file.
void Aspose::Email::Mime::ContentDisposition::set_Inline | ( | bool | value | ) |
Sets a value that determines the disposition type.
true if content in the attachment is presented inline; otherwise, false.
void Aspose::Email::Mime::ContentDisposition::set_ModificationDate | ( | System::DateTime | value | ) |
Sets the modification date.
A DateTime value that indicates the file modification date; otherwise, MinValue if no date was specified.
void Aspose::Email::Mime::ContentDisposition::set_ReadDate | ( | System::DateTime | value | ) |
Sets the read date.
A DateTime value that indicates the file read date; otherwise, MinValue if no date was specified.
void Aspose::Email::Mime::ContentDisposition::set_Size | ( | int64_t | value | ) |
Sets the size of a file attachment.
A Int32 that specifies the number of bytes in the file attachment.
|
override |
Returns a System::String that represents this instance.
|
friend |
|
friend |