Item function (automation interface)
Syntax:
Item("<association>")
Item("<association>","<index>")
Where:
<association> is a string that specifies the association type to use to find an object. Identifying associations...
<index> is a string that specifies the name (typically) of an object to find through the specified association.
Item returns an object in the requested association. If multiple objects are related only the first will be returned. An index on the default property, usually the Name, narrows the selection. If no objects are related then Nothing will be returned.
See the Items function for finding multiple objects.
Examples
In this example, objOperation is set to the Operation named Create that belongs to a Class named Class1:
Set objItem = Dictionary.Item("Class", "Class1")
set objOperation = objItem.Item("Operation","Create")