Represents a MIME protocol Content-Type header.
| C# | Visual Basic |
public class ContentType
Public Class ContentType
| All Members | Constructors | Methods | Properties | ||
| Icon | Member | Description |
|---|---|---|
| ContentType()()()() |
Initializes a new default instance of the ContentType class.
| |
| ContentType(String) |
Initializes a new instance of the ContentType class using the specified string.
| |
| Boundary |
Gets or sets the value of the boundary parameter included in the Content-Type header represented by this instance.
| |
| CharSet |
Gets or sets the value of the charset parameter included in the Content-Type header represented by this instance.
| |
| Equals(Object) | (Inherited from Object.) | |
| Finalize()()()() |
Allows an Object to attempt to free resources and perform other cleanup operations before the Object 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.) | |
| MediaType |
Gets or sets the media type value included in the Content-Type header represented by this instance.
| |
| MemberwiseClone()()()() |
Creates a shallow copy of the current Object.
(Inherited from Object.) | |
| Name |
Gets or sets the value of the name parameter included in the Content-Type header represented by this instance.
| |
| Parameters |
Gets the dictionary that contains the parameters included in the Content-Type header represented by this instance.
| |
| ToString()()()() |
Returns a string representation of this ContentType object.
(Overrides Object.ToString()()()().) |
| Object | |
| ContentType | |