System::Net::Http::Headers::ContentDispositionHeaderValue class
Contents
[
Hide
]ContentDispositionHeaderValue class
Represents a value of the ‘Content-Disposition’ header. Objects of this class should only be allocated using System::MakeObject() function. Never create instance of this type on stack or using operator new, as it will result in runtime errors and/or assertion faults. Always wrap this class into System::SmartPtr pointer and use this pointer to pass it to functions as argument.
class ContentDispositionHeaderValue : public System::ICloneable
Methods
Method | Description |
---|---|
ContentDispositionHeaderValue() | Constructs a new instance. |
ContentDispositionHeaderValue(String) | Constructs a new instance. |
Equals(System::SharedPtr<Object>) override | Compares objects using C# Object.Equals semantics. |
get_CreationDate() | Gets the file creation date. |
get_DispositionType() | RTTI information. |
get_FileName() | Gets a value that determines how to construct a filename for storing the message payload. It is used when the entity is detached and stored in a separate file. |
get_FileNameStar() | Gets a value that determines how to construct filenames for storing the message payload. It is used when the entities are detached and stored in separate files. |
get_ModificationDate() | Gets the file modification date. |
get_Name() | Gets a name for a part of the content body. |
get_Parameters() | Returns a parameters collection of the ‘Content-Disposition’ header. |
get_ReadDate() | Gets the date when the file was read the last time. |
get_Size() | Gets an approximate file size. |
static GetDispositionTypeLength(String, int32_t, System::SharedPtr<Object>&) | Converts a passed string from the specified index to an instance of the ContentDispositionHeaderValue class. |
GetHashCode() const override | Analog of C# Object.GetHashCode() method. Enables hashing of custom objects. |
static Parse(String) | Converts a passed string to an instance of the ContentDispositionHeaderValue class. |
set_CreationDate(Nullable<DateTimeOffset>) | Sets the file creation date. |
set_DispositionType(String) | Sets a disposition type. |
set_FileName(String) | Sets a value that determines how to construct a filename for storing the message payload. It is used when the entity is detached and stored in a separate file. |
set_FileNameStar(String) | Sets a value that determines how to construct filenames for storing the message payload. It is used when the entities are detached and stored in separate files. |
set_ModificationDate(Nullable<DateTimeOffset>) | Sets the file modification date. |
set_Name(String) | Sets a name for a part of the content body. |
set_ReadDate(Nullable<DateTimeOffset>) | Sets the date when the file read the last time. |
set_Size(Nullable<int64_t>) | Sets an approximate file size. |
ToString() const override | Analog of C# Object.ToString() method. Enables converting custom objects to string. |
static TryParse(String, System::SharedPtr<ContentDispositionHeaderValue>&) | Tries to convert a passed string to an instance of the ContentDispositionHeaderValue class. |
See Also
- Class ICloneable
- Namespace System::Net::Http::Headers
- Library Aspose.TeX for C++