LumiSoft Net Help
MIME_h_ContentDisposition Class
Namespaces ► LumiSoft.Net.MIME ► MIME_h_ContentDisposition
Represents "Content-Disposition:" header. Defined in RFC 2183.
Declaration Syntax

C# | Visual Basic | Visual C++ | F#

    public class MIME_h_ContentDisposition : MIME_h

    Public Class MIME_h_ContentDisposition
    	Inherits MIME_h

    public ref class MIME_h_ContentDisposition : public MIME_h

    type MIME_h_ContentDisposition =
        class
            inherit MIME_h
        end

Members

All Members | Constructors | Methods | Properties
Public Protected | Instance Static | Declared Inherited

Icon | Member | Description
--- | --- | ---
| MIME_h_ContentDisposition(String) | Default constructor.
| DispositionType | Gets the disposition-type. Known values are in MIME_DispositionTypes.
| Equals(Object) | Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
| Finalize()()()() | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
| GetHashCode()()()() | Serves as a hash function for a particular type. (Inherited from Object.)
| GetType()()()() | Gets the Type of the current instance. (Inherited from Object.)
| IsModified | Gets if this header field is modified since it has loaded. (Overrides MIME_h.IsModified.)
| MemberwiseClone()()()() | Creates a shallow copy of the current Object. (Inherited from Object.)
| Name | Returns always "Content-Disposition". (Overrides MIME_h.Name.)
| Param_CreationDate | Gets or sets the creation date for a file. Value DateTime.MinValue means not specified. Defined in RFC 2183 2.4.
| Param_FileName | Gets or sets the suggested file name. Value null means not specified. Defined in RFC 2183 2.3.
| Param_ModificationDate | Gets or sets the modification date of a file. Value DateTime.MinValue means not specified. Defined in RFC 2183 2.5.
| Param_ReadDate | Gets or sets the last read date of a file. Value DateTime.MinValue means not specified. Defined in RFC 2183 2.6.
| Param_Size | Gets or sets the size of a file. Value -1 means not specified. Defined in RFC 2183 2.7.
| Parameters | Gets Content-Type parameters collection.
| Parse(String) | Parses header field from the specified value.
| ToString(MIME_Encoding_EncodedWord, Encoding, Boolean) | Returns header field as string. (Overrides MIME_h.ToString(MIME_Encoding_EncodedWord, Encoding, Boolean).)
| ToString()()()() | Returns header field as string. (Inherited from MIME_h.)
| ToString(MIME_Encoding_EncodedWord, Encoding) | Returns header field as string. (Inherited from MIME_h.)
| ValueToString()()()() | Returns header field value as string. (Inherited from MIME_h.)
| ValueToString(MIME_Encoding_EncodedWord, Encoding) | Returns header field value as string. (Inherited from MIME_h.)

Examples

| Copy
--- | ---
    RFC 2183.
        In the extended BNF notation of [RFC 822], the Content-Disposition
        header field is defined as follows:

        disposition := "Content-Disposition" ":" disposition-type *(";" disposition-parm)

        disposition-type := "inline" / "attachment" / extension-token
                            ; values are not case-sensitive

        disposition-parm := filename-parm
                            / creation-date-parm
                            / modification-date-parm
                            / read-date-parm
                            / size-parm
                            / parameter

        filename-parm := "filename" "=" value

        creation-date-parm := "creation-date" "=" quoted-date-time

        modification-date-parm := "modification-date" "=" quoted-date-time

        read-date-parm := "read-date" "=" quoted-date-time

        size-parm := "size" "=" 1*DIGIT

        quoted-date-time := quoted-string
                            ; contents MUST be an RFC 822 `date-time'
                            ; numeric timezones (+HHMM or -HHMM) MUST be used

Inheritance Hierarchy

Object
| MIME_h
|  | MIME_h_ContentDisposition

Assembly: LumiSoft.Net (Module: LumiSoft.Net.dll) Version: 4.5.5510.19119