newObjects-logo.gif (1024 bytes) ScriptManager2 and ScriptAggregate reference
Item property

read only default property

Returns the corresponding object from the namespaces collection

variable = object.Item(name_or_index)

variable object Object from the namespaces collection
object ScriptManager2 or ScriptAggregate Previously created ScriptManager2/ScriptAggregate object
name_or_index string or numeric Name or index of the namespace. Indexes are 1 - based


Names of the objects in the collection are defined when calling the Add method. Objects can be obtained by index. Index value can be between 1 and Count.

Component checks if the type of the name_or_index parameter is numeric and if not it tries to convert the parameter to a string.

Applies to:

ScriptManager2 and ScriptAggregate objects

See also:

C++ Helper SCPHOSTCLNT::Item method

newObjects Copyright newObjects 2001-2005