SubsystemVersion.TryParse(String, SubsystemVersion) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Spolupracujte s námi na GitHubu
Zdroj tohoto obsahu najdete na GitHubu, kde můžete také vytvářet a kontrolovat problémy a žádosti o přijetí změn. Další informace najdete v našem průvodci pro přispěvatele.