Click or drag to resize
MimeKit

ContentDispositionParse(ParserOptions, String) Method

Parse the specified text into a new instance of the ContentDisposition class.

Namespace: MimeKit
Assembly: MimeKit (in MimeKit.dll) Version: 4.3.0
Syntax
C#
public static ContentDisposition Parse(
	ParserOptions options,
	string text
)

Parameters

options  ParserOptions
The parser options.
text  String
The input text.

Return Value

ContentDisposition
The parsed ContentDisposition.
Exceptions
ExceptionCondition
ArgumentNullException

options is null.

-or-

text is null.

ParseException The text could not be parsed.
Remarks
Parses a Content-Disposition value from the specified text.
See Also