MailKit Documentation
MailKit Documentation
API Reference
MimeKit
ContentType Class
ContentType Methods
Parse Method
Parse(Byte[]) Method
Parse(String) Method
Parse(Byte[], Int32) Method
Parse(ParserOptions, Byte[]) Method
Parse(ParserOptions, String) Method
Parse(Byte[], Int32, Int32) Method
Parse(ParserOptions, Byte[], Int32) Method
Parse(ParserOptions, Byte[], Int32, Int32) Method
Content
Type
Parse(String) Method
Parse the specified text into a new instance of the
ContentType
class.
Namespace:
MimeKit
Assembly:
MimeKit (in MimeKit.dll) Version: 4.7.1
Syntax
C#
Copy
public
static
ContentType
Parse
(
string
text
)
Parameters
text
String
The text.
Return Value
ContentType
The parsed
ContentType
.
Exceptions
Exception
Condition
ArgumentNullException
text
is
null
.
ParseException
The
text
could not be parsed.
Remarks
Parses a Content-Type value from the specified text.
See Also
Reference
ContentType Class
Parse Overload
MimeKit Namespace
Copyright © 2013-2023 Jeffrey Stedfast
Send comments on this topic to
Jeffrey Stedfast