Share via


IAppxBundleManifestPackageInfo::GetResources 方法 (appxpackaging.h)

擷取列舉值,逐一查看應用程式套件指令清單中定義的所有 <Resource> 元素。

語法

HRESULT GetResources(
  [out, retval] IAppxManifestQualifiedResourcesEnumerator **resources
);

參數

[out, retval] resources

類型: IAppxManifestQualifiedResourcesEnumerator**

逐一查看資源的列舉值。

傳回值

類型: HRESULT

如果方法成功,則會傳回 S_OK

規格需求

需求
最低支援的用戶端 Windows 8.1 [僅限傳統型應用程式]
最低支援的伺服器 Windows Server 2012 R2 [僅限傳統型應用程式]
目標平台 Windows
標頭 appxpackaging.h

另請參閱

IAppxBundleManifestPackageInfo