Delen via


SemanticVersion.Implicit(SemanticVersion to Version) Operator

Definition

Convert a SemanticVersion to a Version. If there is a PreReleaseLabel or/and a BuildLabel, it is added as a NoteProperty to the result so that you can round trip back to a SemanticVersion without losing the label.

public:
 static operator Version ^(System::Management::Automation::SemanticVersion ^ semver);
public static implicit operator Version (System.Management.Automation.SemanticVersion semver);
static member op_Implicit : System.Management.Automation.SemanticVersion -> Version
Public Shared Widening Operator CType (semver As SemanticVersion) As Version

Parameters

Returns

Applies to