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

From Lavish Software Wiki
Jump to navigation Jump to search
 
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

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