Early Preview
This is currently very much a preview. Please feel free to try things out,
but don't be upset if anything is not yet working. Feedback is welcome over on our
GitHub Dicussions page.
class System.​Net.​Http.​Headers.​ContentDispositionHeaderValue
Assembly: System.Net.Http
Inheritance: object → ContentDispositionHeaderValue
Implemented Interfaces
Represents the value of the Content-Disposition header.
Properties
public
DateTimeOffset?
CreationDate
The date at which the file was created.
public
string
DispositionType
The disposition type for a content body part.
public
string
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.
public
string
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.
public
DateTimeOffset?
ModificationDate
The date when the file was last modified.
public
string
Name
The name for a content body part.
public
Collections.​Generic.​ICollection<​NameValueHeaderValue>
Parameters
A set of parameters included the Content-Disposition header.
public
DateTimeOffset?
ReadDate
The date the file was last read.
public
long?
Size
The approximate size, in bytes, of the file.
Methods
public
bool
Equals​(object obj)
Determines whether the specified <see cref="T:System.Object" /> is equal to the current <see cref="T:System.Net.Http.Headers.ContentDispositionHeaderValue" /> object.
Returns <see langword="true" /> if the specified <see cref="T:System.Object" /> is equal to the current object; otherwise, <see langword="false" /> .
obj
The object to compare with the current object.
public
int
GetHashCode​()
Serves as a hash function for an <see cref="T:System.Net.Http.Headers.ContentDispositionHeaderValue" /> object.
Returns A hash code for the current object.
public static
ContentDispositionHeaderValue
Parse​(string input)
Converts a string to an <see cref="T:System.Net.Http.Headers.ContentDispositionHeaderValue" /> instance.
Returns An <see cref="T:System.Net.Http.Headers.ContentDispositionHeaderValue" /> instance.
input
A string that represents content disposition header value information.
public
string
ToString​()
Returns a string that represents the current <see cref="T:System.Net.Http.Headers.ContentDispositionHeaderValue" /> object.
Returns A string that represents the current object.
public static
bool
TryParse​(string input,
ContentDispositionHeaderValue& parsedValue)
protected
void
Finalize​()
Inherited from object
protected
object
MemberwiseClone​()
Inherited from object