PropertyObject.GetPropertyObjectByOffset

Syntax

PropertyObject.GetPropertyObjectByOffset( arrayOffset, options)

Return Value

PropertyObject

PropertyObject value of the array element.

Purpose

Returns the PropertyObject the arrayOffset parameter specifies.

Remarks

This method is valid only for array objects. For arrays that do not contain objects, such as arrays of numbers, Booleans, strings, or ActiveX references, this method returns a property object that is an alias to the specified array element.

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.

See Also

PropertyObject

PropertyObject.GetNumElements

PropertyObject.GetPropertyObject

PropertyObject.IsAliasObject

PropertyOptions

Thread Safety of the PropertyObject API and TestStand Variables