Compartilhar via


SemanticVersion.Parse(String) Method

Definition

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

public:
 static System::Management::Automation::SemanticVersion ^ Parse(System::String ^ version);
public static System.Management.Automation.SemanticVersion Parse (string version);
static member Parse : string -> System.Management.Automation.SemanticVersion
Public Shared Function Parse (version As String) As SemanticVersion

Parameters

version
String

The string to parse.

Returns

Exceptions

Applies to