GetArrayProperty Function

Class

AnyWin class.

Action

Returns a value from a property array of a Visual Basic object.

Availability

This functionality is supported only if you are using the Classic Agent.

Syntax

aValue = vbObject.GetArrayProperty(sName, iIndex)
Variable Description
aValue The value of the iIndex element of the sName property array. ANYTYPE.
sName The name of the property array. STRING.
iIndex The index of the value to return from the property array. INTEGER.

Notes

GetArrayProperty returns the value of the specified element of the specified property array.

To enable Visual Basic support, check the Enhanced Support for Visual Basic Controls check box in the Other panel of the Agent Options dialog box.

Example

ANYTYPE aValue
// return the third value in the List property array
aValue = MyOutLine.GetArrayProperty ("List",3)