| BodyPartTryParse Method |
Tries to parse the given text into a new
BodyPart instance.
Namespace: MailKitAssembly: MailKit (in MailKit.dll) Version: 4.7.1
Syntax public static bool TryParse(
string text,
out BodyPart part
)
Parameters
- text String
- The text to parse.
- part BodyPart
- The parsed body part.
Return Value
Booleantrue, if the body part was successfully parsed,
false otherwise.
Exceptions Remarks Parses a body part from the specified text.
Note |
---|
This syntax, while similar to IMAP's BODYSTRUCTURE syntax, is not completely
compatible. |
See Also