Size

Note: This statement is not available in the Add Statement dialog box or the Statements pane.

Returns the number of properties in a PropertyMap.

To create a PropertyMap for a window or control, use the GetPropertyMap statement.

Syntax

Size()

Supported objects

PropertyMap

Return value

Value Description
Value Number of properties in the PropertyMap.

Example

propertyMap = Window("Window").Control("control1").GetPropertyMap()

numProperties = propertyMap.Size()