Difference between revisions of "NET:LavishScriptAPI.LavishScriptObject.ExecuteMethod"

From Lavish Software Wiki
Jump to navigation Jump to search
 
 
Line 1: Line 1:
 
== Overview ==
 
== Overview ==
Used to execute a method of a [[NET:Lavish.InnerSpace.dll#LavishScriptObject|LavishScriptObject]] object.
+
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:Lavish.InnerSpace.dll#LavishScript.LavishScriptObject|LavishScriptObject class]]
+
*** [[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:Lavish.InnerSpace.dll#LavishScriptObject|LavishScriptObject]]
+
* [[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

Overview

Used to execute a method of a LavishScriptObject object.

Reference Library

Lavish.InnerSpace.dll

Fully Qualified Name

LavishScriptAPI.LavishScript.Objects.GetObject

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.

Examples

See Also