Record.IntegerData 属性

这是 Record 对象的 IntegerData 属性。 此读写属性将 32 位整数数据传入或移出记录中的指定字段。 如果字段值无法转换为整数,则返回 msiDatabaseNullInteger。

此属性是可读写的。

语法

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