EnumLoadOptions

Returns a two-dimensional array of the metadata 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

<HsvMetadata>.EnumLoadOptions pvar2daOptions

Argument

Description

pvar2daOptions

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

The first dimension identifies the options, and is indexed from 1 to 29. The indexes and corresponding load options are listed in Table 58, Metadata 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 seventeenth item in the first dimension, array item (17,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

See the example for Load.