IAppxManifestResourcesEnumerator 介面 (appxpackaging.h)

列舉封裝指令清單中定義的資源。

繼承

IAppxManifestResourcesEnumerator 介面繼承自 IUnknown 介面。 IAppxManifestResourcesEnumerator 也有下列類型的成員:

方法

IAppxManifestResourcesEnumerator 介面具有這些方法。

 
IAppxManifestResourcesEnumerator::GetCurrent

取得列舉值目前位置的資源。
IAppxManifestResourcesEnumerator::GetHasCurrent

判斷列舉值目前位置是否有資源。
IAppxManifestResourcesEnumerator::MoveNext

將列舉值的位置往前移至下一個資源。

備註

您可以使用 IAppxManifestReaderIAppxManifestReader2 物件的 GetResources 方法來擷取此物件。 但是,從 Windows 8.1 開始,請使用IAppxManifestReader2::GetResources,因為它會逐一查看更多資源限定符,例如 ScaleDXFeatureLevel

規格需求

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

另請參閱

IAppxManifestReader

IAppxManifestReader2

IAppxManifestReader::GetResources