Content DispositionTry Parse(Parser Options, String, Content Disposition) Method
Try to parse the given text into a new ContentDisposition instance.
Definition
Namespace: MimeKit
Assembly: MimeKit.Core (in MimeKit.Core.dll) Version: 5.0.0
if the disposition was successfully parsed; otherwise, .
Assembly: MimeKit.Core (in MimeKit.Core.dll) Version: 5.0.0
C#
public static bool TryParse(
ParserOptions? options,
string? text,
out ContentDisposition?? disposition
)Parameters
- options ParserOptions
- The parser options.
- text String
- The text to parse.
- disposition ContentDisposition
- The parsed disposition.
Return Value
Booleanif the disposition was successfully parsed; otherwise, .
Remarks
Parses a Content-Disposition value from the supplied text.