EnumLoadOptions

Returns a two-dimensional array of the data load options that can be passed to Load. The array includes the options’ names and default values. For some options, the array also identifies the valid range of values.

Syntax

<HsvData>.EnumLoadOptions pvar2davOptions

Argument

Description

pvar2davOptions

Variant array. Returns a two-dimensional safe array that represents the data load options.

The first dimension identifies the options, which are listed in Table 61, Data Load Options.

The second dimension provides information on options, and is indexed from 0 to 5:

  • 0 = The option’s index in the array of options passed to Load. (Long subtype).

  • 1 = The option’s name. (String subtype).

  • 2 = The option’s default value. (The subtype varies).

  • 3 = The option’s minimum value, if any. (Long subtype).

  • 4 = The option’s maximum value, if any (Long subtype).

  • 5 = A tab-delimited list of the option’s valid values (String subtype). If the option is not restricted to a set of values, a blank String is returned.

For example, since the delimiter option is the first item in the first dimension, array item (1,2) stores the system’s default delimiter.

Note:

Options without minimum and maximum values will return 0 for items 3 and 4 of the second dimension.

Example

EnumLoadOptions is used in the example for Load.