TypeOf Function

Syntax

String TypeOf(PropertyObject propertyObject, [Out] [String typeDisplayName], [Out] [PropertyValueTypes propertyValueType], [Out] [Boolean isArray], [Out] [String namedType])

Return Value

String

A string containing the type name of the property object you pass.

Parameters

propertyObject as PropertyObject

A property object (String, Number, Container, etc.).

typeDisplayName as String

An optional string that returns more detailed type information.

propertyValueType as PropertyValueTypes

An optional number that returns a PropertyValueTypes enumeration value. See the TestStand Help for more information. This parameter never returns PropValType_NamedType.

isArray as Boolean

An optional Boolean that returns whether the property object is an array.

namedType as String

An optional string that returns the named type. This parameter returns an empty string if the property object is not an instance of a named type.