ParameterDef Type Property

Meta Data Services Programming

Meta Data Services Programming

ParameterDef Type Property

This property is the data type of the parameter. You can specify most data types that are supported by Automation objects. The value that you specify must be an integer.

Syntax

Set object.Type=(integer)

The Type property syntax has the following parts.

Part Description
object The ParameterDef object
integer The integer associated with a Variant data type
Remarks

Automation Variant data types and integers are provided in the following table.

Variant data type Integer
VT_ARRAY 0x2000
VT_UI1 (BYTE) 18
VT_BOOL 11
VT_BSTR 8
VT_CY (CURRENCY) 6
VT_DATE 7
VT_I2 (SHORT) 2
VT_14 (LONG) 3
VT_R4 (SINGLE) 4
VT_R8 (DOUBLE) 5
VT_DISPATCH 9
VT_UNKNOWN 13
VT_VARIANT 12

See Also

ParameterDef Object