Record.IntegerData 屬性

這是Record物件的IntegerData屬性。 這個讀寫屬性會將 32 位整數資料傳送至記錄內的指定欄位或從中移出。 如果無法將域值轉換成整數,則會傳回 msiDatabaseNullInteger。

這是可讀寫的屬性。

Syntax

propVal = Record.IntegerData
Record.IntegerData = propVal 

屬性值

記錄內值的必要欄位編號,以 1 為基礎。

備註

若要將記錄整數位段設定為 null,請使用 msiDatabaseNullInteger。 不存在欄位的傳回值為 msiDatabaseNullInteger。 嘗試將值儲存在不存在的欄位中會導致錯誤。

規格需求

需求
版本
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_IRecord定義為 000C1093-0000-0000-C000-000000000046