Click or drag to resize
MimeKit

MimeUtilsTryParse(String, Version) Method

Try to parse a version from a header such as Mime-Version.

Namespace: MimeKit.Utils
Assembly: MimeKit (in MimeKit.dll) Version: 4.10.0
Syntax
C#
public static bool TryParse(
	string text,
	out Version version
)

Parameters

text  String
The text to parse.
version  Version
The parsed version.

Return Value

Boolean
if the version was successfully parsed; otherwise, .
Exceptions
ExceptionCondition
ArgumentNullExceptiontext is .
Remarks
Parses a MIME version string from the specified text.
See Also