PackageContentGroup PackageContentGroup PackageContentGroup PackageContentGroup Class

Definition

Provides information about a package content group.

public : sealed class PackageContentGroup : IPackageContentGrouppublic sealed class PackageContentGroup : IPackageContentGroupPublic NotInheritable Class PackageContentGroup Implements IPackageContentGroup// You can use this class in JavaScript.
Attributes
Windows 10 requirements
Device family
Windows 10 Creators Update (introduced v10.0.15063.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v4)

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 IsRequired IsRequired IsRequired

Indicates whether this package content group is required or automatic.

public : PlatForm::Boolean IsRequired { get; }public bool IsRequired { get; }Public ReadOnly Property IsRequired As bool// You can use this property in JavaScript.
Value
PlatForm::Boolean bool bool bool

True indicates that the content group is required; false otherwise.

Remarks

Required packages are downloaded during app install. Automatic packages are downloaded on demand. There can only be one required packaged content group per app.

Name Name Name Name

Gets the name of this package content group.

public : PlatForm::String Name { get; }public string Name { get; }Public ReadOnly Property Name As string// You can use this property in JavaScript.
Value
PlatForm::String string string string

The content group name.

Package Package Package Package

Gets the package for this content group.

public : Package Package { get; }public Package Package { get; }Public ReadOnly Property Package As Package// You can use this property in JavaScript.
Value
Package Package Package Package

The package for this content group.

RequiredGroupName RequiredGroupName RequiredGroupName RequiredGroupName

Gets the name of the required content group.

public : static PlatForm::String RequiredGroupName { get; }public static string RequiredGroupName { get; }Public Static ReadOnly Property RequiredGroupName As string// You can use this property in JavaScript.
Value
PlatForm::String string string string

The name of the required content group.

State State State State

Gets the state of the package content group.

public : PackageContentGroupState State { get; }public PackageContentGroupState State { get; }Public ReadOnly Property State As PackageContentGroupState// You can use this property in JavaScript.