|This method is obsolete. See the Remarks section below.|
EnumProperties method returns the
ObjPropertyIterator object which lets you work with a collection of the object’s properties. Use
Next methods of the
ObjPropertyIterator object to iterate over the collection of the object’s properties.
|Param2||[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 this parameter has the null value (that is,
Nothing in VBScript,
None in Python and
nil in DelphiScript), the
EnumProperties will also return null.
Specifies whether to retrieve hidden properties of the object. Hidden properties are the ones which are displayed in the Object Browser but are not listed in the Code Completion window.
ObjPropertyIterator object which provides a scripting interface to the collection of the object’s properties.
This method is obsolete. It is supported for backward compatibility only. To obtain information about the object’s properties, use the
The following code example posts the list of the process’s properties and their values to the log.
p = Sys.Process("MyApplication") props = BuiltIn.EnumProperties(p) while props.HasNext(): prop = props.Next() Log.Message (str(prop.Name) + ":\n" + str(prop.Value))