The ContentDisposition type exposes the following members.

Constructors

  NameDescription
Public methodContentDisposition
Initializes a new instance of the ContentDisposition class with default values.

Methods

  NameDescription
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)

Properties

  NameDescription
Public propertyAttributes
Additional attribute fields for specifying the name of a file, the creation date and modification date, which can be used by the reader's mail user agent to store the attachment.
Public propertyFilename
Contains the name of the transmitted file if the content-disposition is of type "Attachment" and if the name value was provided as part of the header information. This field may be empty.
Public propertyType
The content disposition specifies the presentation style.

See Also