 | MultipartTryGetValue Method |
Get the preferred message body if it exists.
Namespace: MimeKitAssembly: MimeKit (in MimeKit.dll) Version: 4.10.0
Syntaxpublic virtual bool TryGetValue(
TextFormat format,
out TextPart body
)
Parameters
- format TextFormat
- The preferred text format.
- body TextPart
- The MIME part containing the message body in the preferred text format.
Return Value
Boolean if the body part is found; otherwise,
.
Exceptions
Remarks
Gets the preferred message body if it exists.
See Also