Previous Topic

Next Topic

ObjectProperties - MaxBasic Function

ObjectProperties(ObjectName: String[, Expand: Boolean]): Object

Returns a StringList Object containing a string list of the top-level properties of the object ObjectName. If the Expand boolean is set to True, all child properties are also included. Expand defaults to False.

ObjectProperties function syntax has these named arguments:

Parameter

Description

Object Name

Required. The name of the Object to return properties for.

Expand

Optional. When set to True, the list will include all expanded child properties. Defaults to False.

For example:

Dim datARCust as Object

datARCust = CreateObject("Accredo.ARCustomerData")

Dim Props as Object

Props = ObjectProperties(datARCust, True)

Props.Sort

For I = 0 to Props.Count - 1

Print Props[I]

Next I

will print an expanded list of all properties of the ARCUST object.

See Also

Script Functions

Book Contents

Book Index