Udostępnij za pośrednictwem


PackageContentGroup Class

Definition

Provides information about a package content group.

public ref class PackageContentGroup sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 262144)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class PackageContentGroup final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 262144)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class PackageContentGroup
Public NotInheritable Class PackageContentGroup
Inheritance
Object Platform::Object IInspectable PackageContentGroup
Attributes

Windows requirements

Device family
Windows 10 Creators Update (introduced in 10.0.15063.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v4.0)

Remarks

A package content group allows you to segment a large app into different groups. A group may be automatic which means it can be downloaded in the background or on-demand. A group may be required which means that it will be downloaded during app install.

Properties

IsRequired

Indicates whether this package content group is required or automatic.

Name

Gets the name of this package content group.

Package

Gets the package for this content group.

RequiredGroupName

Gets the name of the required content group.

State

Gets the state of the package content group.

Applies to