C# Класс InTheHand.ApplicationModel.PackageVersionExtensions

Provides interoperability between Windows Runtime PackageVersion and .NET Version types.
PlatformVersion supported AndroidAndroid 4.4 and later iOSiOS 9.0 and later macOSOS X 10.7 and later tvOStvOS 9.0 and later TizenTizen 3.0 Windows UWPWindows 10 Windows StoreWindows 8.1 or later Windows Phone StoreWindows Phone 8.1 or later Windows Phone SilverlightWindows Phone 8.0 or later Windows (Desktop Apps)Windows Vista or later
Показать файл Открыть проект

Открытые методы

Метод Описание
ToPackageVersion ( this version ) : PackageVersion

Converts a Version to a PackageVersion.

ToString ( this packageVersion, int fieldCount ) : string

Converts the value of the current Version object to its equivalent String representation. A specified count indicates the number of components to return.

ToVersion ( this packageVersion ) : System.Version

Converts the value to a Version.

Описание методов

ToPackageVersion() публичный статический Метод

Converts a Version to a PackageVersion.
public static ToPackageVersion ( this version ) : PackageVersion
version this
Результат PackageVersion

ToString() публичный статический Метод

Converts the value of the current Version object to its equivalent String representation. A specified count indicates the number of components to return.
public static ToString ( this packageVersion, int fieldCount ) : string
packageVersion this
fieldCount int The number of components to return. The fieldCount ranges from 0 to 4.
Результат string

ToVersion() публичный статический Метод

Converts the value to a Version.
public static ToVersion ( this packageVersion ) : System.Version
packageVersion this
Результат System.Version