Composite objects Item property
Item default read only property

Returns an object in the composite by name or reference Id.

Syntax:

Set variable = object.Item( IdOrName)
Set variable = object( IdOrName)

Parameters:

IdOrName - Object name or reference Id. Note this cannot be index!

Remarks:

If number is passed it is treated as reference Id not as index. This is because in most cases the objects/scripts in the composite will need to refer specific object(s). Indices are useful only in case of enumeration - see Count and Id property. As enumeration of all the objects is rarely needed we decided to implement the method this way.

Applies to: VaryDispCtx object

newObjects Copyright 2001-2006 newObjects [ ]