ContentDisposition Class
Namespace: Rebex.Mime.Headers
Assembly: Rebex.Mail.dll (version 7.0.9448)
Represents the content disposition of a MIME entity.
Syntax
public class ContentDisposition : IHeader
Implements
Inherited Members
Remarks
Represents the Content-Disposition MIME header defined by RFC 2183.
Constructors
| Name | Description |
|---|---|
| ContentDisposition(String) | Initializes a new instance of ContentDisposition header value with the specified disposition type. |
Properties
| Name | Description |
|---|---|
| CreationDate | Gets or sets the creation date of the attachment. This parameter is rarely used. |
| Disposition | Gets the disposition. |
| FileName | Gets or sets the file name of the attachment. |
| Inline | Determines whether the content disposition is inline. |
| ModificationDate | Gets or sets the modification date of the attachment. This parameter is rarely used. |
| Parameters | Gets the list of parameters of this content disposition. |
| ReadDate | Gets or sets the read date of the attachment. This parameter is rarely used. |
| Size | Gets or sets the approximate size of the attachment. This parameter is rarely used. |
Methods
| Name | Description |
|---|---|
| Clone() | Creates a copy of the header. |
| Encode(TextWriter) | Writes an encoded header value into a TextWriter. |
| Equals(Object) | Determines whether the specified ContentDisposition is equal to the current ContentDisposition. |
| GetHashCode() | Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table. |
| ToString() | Converts the value of this header to its String representation. |