MailKit Documentation
MailKit Documentation
API Reference
MimeKit
MultipartAlternative Class
MultipartAlternative Methods
Accept Method
GetTextBody Method
TryGetValue Method
Multipart
Alternative
Get
Text
Body Method
Get the text body in the specified format.
Namespace:
MimeKit
Assembly:
MimeKit (in MimeKit.dll) Version: 4.7.1
Syntax
C#
Copy
public
string
GetTextBody
(
TextFormat
format
)
Parameters
format
TextFormat
The desired text format.
Return Value
String
The text body in the desired format if it exists; otherwise,
null
.
Implements
IMultipartAlternative
GetTextBody(TextFormat)
Exceptions
Exception
Condition
ObjectDisposedException
The
MultipartAlternative
has been disposed.
Remarks
Gets the text body in the specified format, if it exists.
See Also
Reference
MultipartAlternative Class
MimeKit Namespace
Copyright © 2013-2023 Jeffrey Stedfast
Send comments on this topic to
Jeffrey Stedfast