Action
Returns a BOOLEAN value that indicates whether or not the specified property is an array.
Availability
This functionality is supported only if you are using the Classic Agent.
Syntax
bIsArray = object.IsArrayProperty(sName)
Variable
|
Description
|
bIsArray
|
A flag which indicates whether or not the property is an array. TRUE indicates a property that contains an array of values and FALSE indicates a property that contains a single value.
BOOLEAN.
|
sName
|
The name of the property.
STRING.
|
Notes
Use
IsArrayProperty to determine if a property returned by
GetPropertyList contains a single value or a one-dimensional array of values. This information, in turn, determines whether you use
GetProperty/SetProperty or
GetArrayProperty/SetArrayProperty to manipulate the property.
Example
bFlag = MyObject.IsArrayProperty("Col")