Share via


Installer.Features 屬性

Features屬性是唯讀屬性,會傳回StringList物件,列舉指定產品的已發佈功能集。

這個屬性是唯讀的。

Syntax

propVal = Installer.Features

屬性值

指定產品的產品代碼。

備註

若要列舉功能,應用程式會使用 For Each 建構逐一查看 StringList 物件。 因為功能未排序,所以任何新功能都有任意索引,這表示函式可以依任何順序傳回特徵。

規格需求

需求
版本
Windows Server 2012、Windows 8、Windows Server 2008 R2 或 Windows 7 上的 Windows Installer 5.0。 Windows Server 2008 或 Windows Vista 上的 Windows Installer 4.0 或 Windows Installer 4.5。 Windows Server 2003 或 Windows XP 上的 Windows Installer
DLL
Msi.dll
IID
IID_IInstaller定義為 000C1090-0000-0000-C000-000000000046

另請參閱

MsiEnumFeatures

系統狀態函式