![]() | ContentType Class |
Namespace: MimeKit
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 |
Gets the simple mime-type.
|
![]() | Name |
Get or set the name parameter.
|
![]() | Parameters |
Get the list of parameters on the ContentType.
|
Name | Description | |
---|---|---|
![]() | Equals | Determines whether the specified object is equal to the current object. (Inherited from 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 the default hash function. (Inherited from Object.) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | IsMimeType |
Check if the this instance of ContentType matches
the specified MIME media type and subtype.
|
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (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.
|