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