Share via


PackageSetItem Class

Definition

Represents a package in a PackageSet.

public ref class PackageSetItem sealed
/// [Windows.Foundation.Metadata.Activatable(65536, "Microsoft.Windows.Management.Deployment.PackageDeploymentContract")]
/// [Windows.Foundation.Metadata.ContractVersion(Microsoft.Windows.Management.Deployment.PackageDeploymentContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class PackageSetItem final
[Windows.Foundation.Metadata.Activatable(65536, "Microsoft.Windows.Management.Deployment.PackageDeploymentContract")]
[Windows.Foundation.Metadata.ContractVersion(typeof(Microsoft.Windows.Management.Deployment.PackageDeploymentContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class PackageSetItem
function PackageSetItem()
Public NotInheritable Class PackageSetItem
Inheritance
Object Platform::Object IInspectable PackageSetItem
Attributes

Remarks

This table describes the properties of PackageSetItem that are used by various verbs:

Verb MinVersion PackageFamilyName PackageUri ProcessorArchitectureFilter
IsReady Required, but defaults Required N/A Optional
IsReadyOrNewerAvailable Required, but defaults Required N/A Optional
EnsureReady Required, but defaults Required Required, but defaults Optional
Add N/A N/A Required, but defaults N/A
Stage N/A N/A Required, but defaults N/A
Register N/A N/A Required, but defaults N/A
Remove N/A Required, but defaults (if no PackageUri) Optional N/A
Repair N/A Required, but defaults (if no PackageUri) Optional N/A
Reset N/A Required, but defaults (if no PackageUri) Optional N/A
IsProvisioned N/A Required, but defaults Optional N/A
Provision N/A Required, but defaults (if no PackageUri) Optional N/A
Deprovision N/A Required, but defaults (if no PackageUri) Optional N/A

Legend:

  • Required = The property is required.
  • Required, but defaults = The property is required; but if not specified, then the default value is used.
  • Optional = The property is used if it's specified.
  • N/A = Not applicable. The property isn't used.

Constructors

PackageSetItem()

Constructs a new PackageSetItem object.

Properties

Id

Gets or sets a required property that's used primarily for logging and troubleshooting.

MinVersion

Gets or sets an optional property representing the package's minimum version. Some verbs use this property (see Remarks in PackageSetItem).

PackageFamilyName

Gets or sets an optional property representing the package's package family name. Some verbs use this property (see Remarks in PackageSetItem).

PackageUri

Gets or sets an optional property representing the package's uri. Some verbs use this property (see Remarks in PackageSetItem).

ProcessorArchitectureFilter

Gets or sets an optional property representing the package's processor architecture filter. Some verbs use this property (see Remarks in PackageSetItem).

Applies to