Delen via


AppInfo.Package Property

Definition

Retrieves the full Package object for the calling AppInfo object.

public:
 property Package ^ Package { Package ^ get(); };
Package Package();
public Package Package { get; }
var package = appInfo.package;
Public ReadOnly Property Package As Package

Property Value

The Package associated with the AppInfo.

Windows requirements

Device family
Windows 10, version 2004 (introduced in 10.0.19041.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v10.0)

Remarks

This API is recommended for use in any case where a process enumerating AppInfo in the system needs access to a full Package object.

Applies to