SetArrayProperty Method

Class

AnyWin class.

Action

Sets a value in a property array of a Visual Basic object.

Availability

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

Syntax

object.SetArrayProperty (sName, iIndex, aValue)
Variable Description
sName The name of the property array. STRING.
iIndex The element to set in the property array. INTEGER.
aValue The value to write to the iIndex element of the sName array. ANYTYPE.

Notes

SetArrayProperty sets the value of the specified element of the specified property array.

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

Example

// set the third value in the List property array
STRING sText
MyOutLine.GetArrayProperty ("List", 3, sText)