This method is obsolete. See the Remarks section below. |
Description
The EnumMethods
method returns the ObjMethodIterator
object which lets you work with a collection of the object’s methods. Use HasNext
and Next
methods of the ObjMethodIterator
object to iterate over the collection of the object’s methods.
Declaration
BuiltIn.EnumMethods(Param1, Param2)
Param1 | [in] | Required | Object | |
Param2 | [in] | Optional | Boolean | Default value: False |
Result | An ObjMethodIterator object |
Applies To
The method is applied to the following object:
Parameters
The method has the following parameters:
Param1
The object whose events you want to retrieve. If this parameter has the null value (that is, Nothing
in VBScript, null
in JavaScript, JScript, C++Script and C#Script, None
in Python and nil
in DelphiScript), the EnumMethods
will also return null.
Param2
Specifies whether to retrieve hidden methods of the object. Hidden methods are the ones which are displayed in the Object Browser but are not listed in the Code Completion window.
Result Value
An ObjMethodIterator
object provides a scripting interface to the collection of the object’s methods.
Remarks
This method is obsolete. It is supported for backward compatibility only. To obtain information about the object’s methods, use the aqObject.GetMethods
method.
See Also
aqObject.GetMethods Method
aqObject.GetFields Method
aqObject.GetProperties Method
aqObject.GetEvents Method
aqObjIterator Object
aqObjMethod Object