Installer.CreateRecord 方法

Installer物件的CreateRecord方法會傳回具有所要求欄位數目的新Record物件。

語法

Installer.CreateRecord(
  count
)

參數

計數

必要欄位數目,可能是 0。 記錄中的欄位數目上限限制為 65535。

傳回值

這個方法不會傳回值。

備註

欄位 0,不是 計數中的其中一個欄位,通常用於記錄導向的專案,例如格式字串或執行作業碼。

規格需求

需求
版本
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