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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.