Share via


AutoUpdateSettingsOptions.Version Property

Definition

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.

Applies to