Difference between revisions of "NET:LavishScriptAPI.LavishScriptObject.ExecuteMethod"
Jump to navigation
Jump to search
Line 1: | Line 1: | ||
== Overview == | == Overview == | ||
− | Used to execute a method of a [[NET: | + | Used to execute a method of a [[NET:LavishScriptAPI.LavishScriptObject|LavishScriptObject]] object. |
=== Reference Library === | === Reference Library === | ||
Line 9: | Line 9: | ||
*[[NET:Lavish.InnerSpace.dll#LavishScriptAPI_namespace|LavishScriptAPI namespace]] | *[[NET:Lavish.InnerSpace.dll#LavishScriptAPI_namespace|LavishScriptAPI namespace]] | ||
** [[NET:Lavish.InnerSpace.dll#LavishScript|LavishScript class]] | ** [[NET:Lavish.InnerSpace.dll#LavishScript|LavishScript class]] | ||
− | *** [[NET: | + | *** [[NET:LavishScriptAPI.LavishScriptObject|LavishScriptObject class]] |
**** ExecuteMethod function | **** ExecuteMethod function | ||
== Declaration == | == Declaration == | ||
public bool ExecuteMethod(string Method) | public bool ExecuteMethod(string Method) | ||
− | public bool ExecuteMethod(string Method, string[] args) | + | public bool ExecuteMethod(string Method, params string[] args) |
=== Parameters === | === Parameters === | ||
* string Method | * string Method | ||
: Name of the method to access | : Name of the method to access | ||
− | * string[] indices | + | * params string[] indices |
: Parameters, if any, to pass to the object method | : Parameters, if any, to pass to the object method | ||
Line 29: | Line 29: | ||
== See Also == | == See Also == | ||
− | * [[NET: | + | * [[NET:LavishScriptAPI.LavishScriptObject|LavishScriptObject]] |
* [[IS:.NET|Inner Space .NET]] | * [[IS:.NET|Inner Space .NET]] | ||
* [[NET:Lavish.InnerSpace.dll|Lavish.InnerSpace.dll]] | * [[NET:Lavish.InnerSpace.dll|Lavish.InnerSpace.dll]] |
Latest revision as of 22:56, 16 December 2006
Contents
Overview
Used to execute a method of a LavishScriptObject object.
Reference Library
Fully Qualified Name
- LavishScriptAPI.LavishScript.Objects.GetObject
- LavishScriptAPI namespace
- LavishScript class
- LavishScriptObject class
- ExecuteMethod function
- LavishScriptObject class
- LavishScript class
Declaration
public bool ExecuteMethod(string Method) public bool ExecuteMethod(string Method, params string[] args)
Parameters
- string Method
- Name of the method to access
- params string[] indices
- Parameters, if any, to pass to the object method
Return Value
- bool
- true if the method call succeeded, otherwise false. false may also be returned if the object becomes invalid, as in the case of a Delete operation.