PropertyObject.SetValVariantByOffset

Syntax

PropertyObject.SetValVariantByOffset( arrayOffset, options, newValue)

Purpose

Sets the value of the array element the arrayOffset parameter specifies with a variant.

Remarks

This method is valid only for array objects. You can use this method to set the entire value of an element that is an array.

Parameters

arrayOffset As Long

[In] Specifies a zero-based number representing the offset of an array element in the one-dimensional physical storage of the array. The offset is in terms of the number of elements.

options As Long

[In] Pass 0 to specify the default behavior, or pass one or more PropertyOptions constants. Use the bitwise-OR operator to specify multiple options.

newValue As Variant

[In] Specifies the new value for the array element.

See Also

PropertyObject.GetValVariantByOffset

PropertyObject.SetValVariant

PropertyOptions

Thread Safety of the PropertyObject API and TestStand Variables