Content |
public class ContentType
The ContentType type exposes the following members.
Name | Description | |
---|---|---|
ContentType | Initialize a new instance of the ContentType class. |
Name | Description | |
---|---|---|
Boundary | Get or set the boundary parameter. | |
Charset | Get or set the charset parameter. | |
CharsetEncoding | Get or set the charset parameter as an Encoding. | |
Format | Get or set the format parameter. | |
MediaSubtype | Get or set the media subtype. | |
MediaType | Get or set the type of the media. | |
MimeType | Get the simple mime-type. | |
Name | Get or set the name parameter. | |
Parameters | Get the list of parameters on the ContentType. |
Name | Description | |
---|---|---|
Clone | Clone the content type. | |
Equals | (Inherited from Object) | |
Finalize | (Inherited from Object) | |
GetHashCode | (Inherited from Object) | |
GetType | (Inherited from Object) | |
IsMimeType | Check if the this instance of ContentType matches the specified MIME media type and subtype. | |
MemberwiseClone | (Inherited from Object) | |
Parse(Byte) | Parse the specified input buffer into a new instance of the ContentType class. | |
Parse(String) | Parse the specified text into a new instance of the ContentType class. | |
Parse(Byte, Int32) | Parse the specified input buffer into a new instance of the ContentType class. | |
Parse(ParserOptions, Byte) | Parse the specified input buffer into a new instance of the ContentType class. | |
Parse(ParserOptions, String) | Parse the specified text into a new instance of the ContentType class. | |
Parse(Byte, Int32, Int32) | Parse the specified input buffer into a new instance of the ContentType class. | |
Parse(ParserOptions, Byte, Int32) | Parse the specified input buffer into a new instance of the ContentType class. | |
Parse(ParserOptions, Byte, Int32, Int32) | Parse the specified input buffer into a new instance of the ContentType class. | |
ToString |
Serialize the ContentType to a string.
(Overrides ObjectToString) | |
ToString(Boolean) | Serialize the ContentType to a string, optionally encoding the parameters. | |
ToString(Encoding, Boolean) | Serialize the ContentType to a string, optionally encoding the parameters. | |
ToString(FormatOptions, Encoding, Boolean) | Serialize the ContentType to a string, optionally encoding the parameters. | |
TryParse(Byte, ContentType) | Try to parse the given input buffer into a new ContentType instance. | |
TryParse(String, ContentType) | Try to parse the given text into a new ContentType instance. | |
TryParse(Byte, Int32, ContentType) | Try to parse the given input buffer into a new ContentType instance. | |
TryParse(ParserOptions, Byte, ContentType) | Try to parse the given input buffer into a new ContentType instance. | |
TryParse(ParserOptions, String, ContentType) | Try to parse the given text into a new ContentType instance. | |
TryParse(Byte, Int32, Int32, ContentType) | Try to parse the given input buffer into a new ContentType instance. | |
TryParse(ParserOptions, Byte, Int32, ContentType) | Try to parse the given input buffer into a new ContentType instance. | |
TryParse(ParserOptions, Byte, Int32, Int32, ContentType) | Try to parse the given input buffer into a new ContentType instance. |