PackageVersionHelper.ToPackageVersion(String) 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.
Converts a string representation of a version number to an equivalent Windows.ApplicationModel.PackageVersion.
public static Windows.ApplicationModel.PackageVersion ToPackageVersion(this string formattedVersionNumber);
static member ToPackageVersion : string -> Windows.ApplicationModel.PackageVersion
<Extension()>
Public Function ToPackageVersion (formattedVersionNumber As String) As PackageVersion
Parameters
- formattedVersionNumber
- String
Version string of the format 'Major.Minor.Build.Revision'
Returns
The parsed Windows.ApplicationModel.PackageVersion