Body PartTry Parse Method
Tries to parse the given text into a new BodyPart instance.
Definition
Namespace: MailKit
Assembly: MailKit (in MailKit.dll) Version: 5.0.0
if the body part was successfully parsed; otherwise, .
Assembly: MailKit (in MailKit.dll) Version: 5.0.0
C#
public static bool TryParse(
string text,
out BodyPart?? part
)Parameters
Return Value
Booleanif the body part was successfully parsed; otherwise, .
Remarks
Parses a body part from the specified text.
Exceptions
| ArgumentNullException | text is . |