SemanticVersion.Parse(String) Method

Definition

Parse version and return the result if it is a valid SemanticVersion, otherwise throws an exception.

C++
public:
 static System::Management::Automation::SemanticVersion ^ Parse(System::String ^ version);

Parameters

version
String

The string to parse.

Returns

Exceptions

Applies to

Product Versions
PowerShell SDK 7.2.0, 7.3.0, 7.4.0