Freigeben über


Package.GetContentGroupsAsync Methode

Definition

Enthält Informationen zu allen Paketinhaltsgruppen in der App und zu ihrem Status, namen, ob sie erforderlich sind usw.

public:
 virtual IAsyncOperation<IVector<PackageContentGroup ^> ^> ^ GetContentGroupsAsync() = GetContentGroupsAsync;
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<IVector<PackageContentGroup>> GetContentGroupsAsync();
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<IList<PackageContentGroup>> GetContentGroupsAsync();
function getContentGroupsAsync()
Public Function GetContentGroupsAsync () As IAsyncOperation(Of IList(Of PackageContentGroup))

Gibt zurück

Eine Liste von Paketinhaltsgruppenobjekten.

Attribute

Windows-Anforderungen

Anforderungen Beschreibung
Gerätefamilie
Windows 10 Creators Update (eingeführt in 10.0.15063.0)
API contract
Windows.Foundation.UniversalApiContract (eingeführt in v4.0)

Hinweise

Die zurückgegebene Auflistung kann leer sein, wenn das Paket keine Inhaltsgruppen enthält.

Gilt für: