MimeUtilsTryParse(String, Version) Method

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

Definition

Namespace: MimeKit.Utils
Assembly: MimeKit.Core (in MimeKit.Core.dll) Version: 5.0.0
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, .

Remarks

Parses a MIME version string from the specified text.

See Also