GetProperties property returns an
aqObjIterator object that lists all the properties of the desired object. Use the
Item methods of the returned
aqObjIterator object to iterate through the collection of the object’s properties. Each single property is described by an individual
|ShowHidden||[in]||Optional||Boolean||Default value: False|
The method is applied to the following object:
The method has the following parameters:
The object whose properties you want to retrieve. If the specified object was not found, the
GetProperties method returns an empty value (that is,
Nothing in VBScript,
None in Python and
nil in DelphiScript).
Specifies whether to retrieve hidden properties of the object. Hidden properties are those that are displayed in the Object Browser but are not listed in the Code Completion window.
The following sample code posts the list of process properties and their values to the log.
p = Sys.Process("MyApplication") props = aqObject.GetProperties(p) while props.HasNext(): prop = props.Next() Log.Message(prop.Name + ": " + aqConvert.VarToStr(prop.Value))