AutoUpdateSettingsOptions.Version Property
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.
Gets or sets a PackageVersion object expressing the version of the App Installer file represented by the AppInstallerInfo object.
public:
property PackageVersion Version { PackageVersion get(); void set(PackageVersion value); };
PackageVersion Version();
void Version(PackageVersion value);
public PackageVersion Version { get; set; }
var packageVersion = autoUpdateSettingsOptions.version;
autoUpdateSettingsOptions.version = packageVersion;
Public Property Version As PackageVersion
Property Value
The version of the App Installer file.
Remarks
Note that this is the version of the App Installer file itself, not the version of the schema the App Installer uses, and will typically be assigned to match the version of the main package the installer file is associated with.
This property is equivalent to the Version attribute of the AppInstaller element of the App Installer file schema.