NET:LavishScriptAPI.LavishScript.Objects.NewObject

From Lavish Software Wiki
Revision as of 23:37, 16 December 2006 by Lax (talk | contribs) (→‎Parameters)
(diff) ←Older revision | view current revision (diff) | Newer revision→ (diff)
Jump to navigation Jump to search

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