Delen via


SubsystemVersion.TryParse(String, SubsystemVersion) Method

Definition

Try parse subsystem version in "x.y" format. Note, no spaces are allowed in string representation.

public:
 static bool TryParse(System::String ^ str, [Runtime::InteropServices::Out] Microsoft::CodeAnalysis::SubsystemVersion % version);
public static bool TryParse (string str, out Microsoft.CodeAnalysis.SubsystemVersion version);
static member TryParse : string * SubsystemVersion -> bool
Public Shared Function TryParse (str As String, ByRef version As SubsystemVersion) As Boolean

Parameters

str
String

String to parse

version
SubsystemVersion

the value if successfully parsed or None otherwise

Returns

true if parsed successfully, false otherwise

Applies to