Difference between revisions of "NET:LavishScriptAPI.LavishScript.Objects.NewObject"
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: | + | *** [[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: | + | * [[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
Contents
Overview
Creates a new LavishScript object of a given object type.
Reference Library
Fully Qualified Name
- LavishScriptAPI.LavishScript.Objects.NewObject
- LavishScriptAPI namespace
- LavishScript class
- Objects class
- NewObject function
- Objects class
- LavishScript class
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