DataSize Property

[This is preliminary documentation and subject to change.]

This is the DataSize property of the MsiRecord object. This read-only property returns the size of the data for the designated field. If the data is a stream, the stream length in bytes is returned. If the data is a string, the string length without Null is returned. If the data is an integer, the value 4 is returned (indicating the size of the integer). If the data is Null, 0 is returned.

Syntax

object.DataSize(field)

Parts

object
MsiRecord object.
field
Required field number of the value within the record, 1-based.