Share via


IAppxContentGroupMapWriter::AddAutomaticGroup-Methode (appxpackaging.h)

Fügt der Inhaltsgruppenzuordnung eine automatische Inhaltsgruppe hinzu.

Syntax

HRESULT AddAutomaticGroup(
  [in] LPCWSTR groupName
);

Parameter

[in] groupName

Der Name der automatischen Inhaltsgruppe.

Rückgabewert

Wenn diese Methode erfolgreich ist, wird S_OK zurückgegeben. Andernfalls wird ein Fehlercode HRESULT zurückgegeben.

Anforderungen

Anforderung Wert
Unterstützte Mindestversion (Client) Windows 10 [nur Desktop-Apps]
Unterstützte Mindestversion (Server) Windows Server 2016 [nur Desktop-Apps]
Zielplattform Windows
Kopfzeile appxpackaging.h

Weitere Informationen

IAppxContentGroupMapWriter