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.7.1
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
true, if the version was successfully parsed, false otherwise.
Exceptions
ExceptionCondition
ArgumentNullExceptiontext is null.
Remarks
Parses a MIME version string from the specified text.
See Also