Click or drag to resize
MimeKit

ContentDispositionTryParse(String, ContentDisposition) Method

Try to parse the given text into a new ContentDisposition instance.

Namespace: MimeKit
Assembly: MimeKit (in MimeKit.dll) Version: 4.3.0
Syntax
C#
public static bool TryParse(
	string text,
	out ContentDisposition disposition
)

Parameters

text  String
The text to parse.
disposition  ContentDisposition
The parsed disposition.

Return Value

Boolean
true if the disposition was successfully parsed; otherwise, false.
Exceptions
ExceptionCondition
ArgumentNullExceptiontext is null.
Remarks
Parses a Content-Disposition value from the supplied text.
See Also