ItemEx function (automation interface)
Syntax:
ItemEx ("<association>","<value>","<attribute>")
Where:
<association> is a string that specifies the association type to use to find an object. Identifying associations...
<value> is a string that specifies the value of the attribute type to use to find an object through the specified association. Tell me more...
<attribute> is a string that specifies the attribute type to use to find an object through the specified association. Identifying attributes
ItemEx returns an object through the specified association, whose Attribute type and value type match that specified. If multiple objects match the specified Attribute type and value, only the first will be returned.
Examples
This example sets objDiagram to a Class Diagram named MyDiagram and found in Package1:
Set objItem = Dictionary.Item("Package", "Package1")
Set objDiagram = objItem.ItemEx ("Class Diagram", "MyDiagram", "Name")