| MultipartAlternativeTryGetValue Method |
Get the preferred message body if it exists.
Namespace: MimeKitAssembly: MimeKit (in MimeKit.dll) Version: 4.7.1
Syntax public override 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
Booleantrue if the body part is found; otherwise,
false.
Exceptions Remarks
Gets the preferred message body if it exists.
See Also