ItemCount property (ILEADRasterVariant)

Visual Basic example

Visual C++ 5.0 example

 

Syntax

long ItemCount

Overview

Refer to Using ILEADRasterVariant object

Remarks

Gets and sets the value items count. Pass 0 to this property to free the associated memory for the values contained in the ILEADRasterVaraint object.

Setting any value for this property will allocate an array of the specified item value type.

This property is valid to be used with the following value types:

VALUE_ARRAY_BYTE

VALUE_ARRAY_SHORT

VALUE_ARRAY_USHORT

VALUE_ARRAY_LONG

VALUE_ARRAY_ULONG

VALUE_ARRAY_INT

VALUE_ARRAY_UINT

VALUE_ARRAY_FLOAT

VALUE_ARRAY_DOUBLE

VALUE_ARRAY_BOOLEAN

VALUE_ARRAY_STRING

See Also

Elements:

Type property, EnableMethodErrors property, Error property, ShortItemValue property, LongItemValue property, FloatItemValue property, DoubleItemValue property, BooleanItemValue property, StringItemValue property