Represents the value of the Content-Disposition header.
Assembly: System.Net.Http (in System.Net.Http.dll)
Thetype exposes the following members.
|ContentDispositionHeaderValue(ContentDispositionHeaderValue)||Initializes a new instance of the class.|
|ContentDispositionHeaderValue(String)||Initializes a new instance of the class.|
|CreationDate||The date at which the file was created.|
|DispositionType||The disposition type for a content body part.|
|FileName||A suggestion for how to construct a filename for storing the message payload to be used if the entity is detached and stored in a separate file.|
|FileNameStar||A suggestion for how to construct filenames for storing message payloads to be used if the entities are detached and stored in a separate files.|
|ModificationDate||The date at which the file was last modified.|
|Name||The name for a content body part.|
|Parameters||A set of parameters included the Content-Disposition header.|
|ReadDate||The date the file was last read.|
|Size||The approximate size, in bytes, of the file.|
|Equals||Determines whether the specified Object is equal to the current object. (Overrides Object.Equals(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 an object. (Overrides Object.GetHashCode().)|
|GetType||Gets the Type of the current instance. (Inherited from Object.)|
|MemberwiseClone||Creates a shallow copy of the current Object. (Inherited from Object.)|
|Parse||Converts a string to an instance.|
|ToString||Returns a string that represents the current object. (Overrides Object.ToString().)|
|TryParse||Determines whether a string is valid information.|
The Content-Disposition header is normally used for working with file uploads and downloads. The format differs from other headers in that it is a single header with a disposition type followed by a list of parameters, some of which are well defined.
This header is used in two different contexts:
Windows Phone 8.1, Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.