Click or drag to resize
MimeKit

ContentType Methods

The ContentType type exposes the following members.

Methods
 NameDescription
Public methodClone Clone the content type.
Public methodEquals
(Inherited from Object)
Protected methodFinalize
(Inherited from Object)
Public methodGetHashCode
(Inherited from Object)
Public methodGetType
(Inherited from Object)
Public methodIsMimeType Check if the this instance of ContentType matches the specified MIME media type and subtype.
Protected methodMemberwiseClone
(Inherited from Object)
Public methodStatic memberParse(Byte) Parse the specified input buffer into a new instance of the ContentType class.
Public methodStatic memberParse(String) Parse the specified text into a new instance of the ContentType class.
Public methodStatic memberParse(Byte, Int32) Parse the specified input buffer into a new instance of the ContentType class.
Public methodStatic memberParse(ParserOptions, Byte) Parse the specified input buffer into a new instance of the ContentType class.
Public methodStatic memberParse(ParserOptions, String) Parse the specified text into a new instance of the ContentType class.
Public methodStatic memberParse(Byte, Int32, Int32) Parse the specified input buffer into a new instance of the ContentType class.
Public methodStatic memberParse(ParserOptions, Byte, Int32) Parse the specified input buffer into a new instance of the ContentType class.
Public methodStatic memberParse(ParserOptions, Byte, Int32, Int32) Parse the specified input buffer into a new instance of the ContentType class.
Public methodToString Serialize the ContentType to a string.
(Overrides ObjectToString)
Public methodToString(Boolean) Serialize the ContentType to a string, optionally encoding the parameters.
Public methodToString(Encoding, Boolean) Serialize the ContentType to a string, optionally encoding the parameters.
Public methodToString(FormatOptions, Encoding, Boolean) Serialize the ContentType to a string, optionally encoding the parameters.
Public methodStatic memberTryParse(Byte, ContentType) Try to parse the given input buffer into a new ContentType instance.
Public methodStatic memberTryParse(String, ContentType) Try to parse the given text into a new ContentType instance.
Public methodStatic memberTryParse(Byte, Int32, ContentType) Try to parse the given input buffer into a new ContentType instance.
Public methodStatic memberTryParse(ParserOptions, Byte, ContentType) Try to parse the given input buffer into a new ContentType instance.
Public methodStatic memberTryParse(ParserOptions, String, ContentType) Try to parse the given text into a new ContentType instance.
Public methodStatic memberTryParse(Byte, Int32, Int32, ContentType) Try to parse the given input buffer into a new ContentType instance.
Public methodStatic memberTryParse(ParserOptions, Byte, Int32, ContentType) Try to parse the given input buffer into a new ContentType instance.
Public methodStatic memberTryParse(ParserOptions, Byte, Int32, Int32, ContentType) Try to parse the given input buffer into a new ContentType instance.
Top
See Also