Difference between revisions of "NET:LavishScriptAPI.LavishScript.Objects.NewObject"

From Lavish Software Wiki
Jump to navigation Jump to search
 
 
(One intermediate revision by the same user not shown)
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.Objects|Objects class]]
+
*** [[NET:LavishScriptAPI.LavishScriptObject|Objects class]]
 
**** NewObject function
 
**** NewObject function
  
Line 18: Line 18:
 
=== Parameters ===
 
=== Parameters ===
 
* string Type
 
* string Type
: Type of LavishScript object to create
+
: Type of LavishScript object to create (case sensitive)
 
* params string[] indices
 
* params string[] indices
 
: Parameters, if any, to pass to the object's Initialize method
 
: Parameters, if any, to pass to the object's Initialize method
Line 30: Line 30:
  
 
== 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 23:37, 16 December 2006

Overview

Creates a new LavishScript object of a given object type.

Reference Library

Lavish.InnerSpace.dll

Fully Qualified Name

LavishScriptAPI.LavishScript.Objects.NewObject

Declaration

static public LavishScriptObject NewObject(string Type)
static public LavishScriptObject NewObject(string Type, params string[] args)

Parameters

  • string Type
Type of LavishScript object to create (case sensitive)
  • params string[] indices
Parameters, if any, to pass to the object's Initialize method

Return Value

The requested object, or null

Examples

C#

See Also