ISCModelProperty::DataType Arguments

Here is the signature for the DataType function:

SC_ValueTypes DataType(VARIANT ValueId)

The following table contains the valid arguments for the DataType function:

Parameter

Valid Type/Value

Description

ValueId

Empty

Valid if a property is scalar or if all elements of a multi-valued property have the same datatype.

ValueId

VT_I4 � Index

Ignored if the property is scalar. Identifies an element in a multi-valued property with a zero-based index.

ValueId

VT_BSTR � Name of a non-scalar element

Ignored if the property is scalar. If the property is multi-valued, indicates an element by name.