Here is the signature for the Item function:
ISCModelObject * Item(VARIANT nIndex, VARIANT Class)
The following table contains the valid arguments for the Item function:
Parameter |
Valid Type/Value |
Description |
---|---|---|
nIndex |
VT_UNKNOWN – Pointer to ISCModelObject interface |
Identifies an object with the Model Object pointer. |
nIndex |
VT_BSTR – ID of an object |
Identifies an object with the given object identifier. |
nIndex |
VT_BSTR – Name of an object |
If the name of an object is used, the Class parameter must also be used. Identifies an object with the given name and given object class. |
Class [optional] |
Empty |
Only if nIndex is not an object name. |
Class [optional] |
VT_BSTR – Name of a class |
Must be used if the nIndex parameter is the name of an object. Identifies an object class name. |
Class [optional] |
VT_BSTR – Class ID of object type |
Must be used if the nIndex parameter is the name of an object. Identifies an object class identifier. |
Note: For information about valid object class names and identifiers, see the HTML document ERwin Metamodel Reference, in the Metamodel Reference Bookshelf located in the CA ERwin Data Modeler installation folder.
Copyright © 2016 CA Technologies.
All rights reserved.
|
|