Here is the signature for the HasProperty function:
VARIANT_BOOL HasProperty(VARIANT ClassId, VARIANT MustBeOn, VARIANT MustBeOff)
The following table contains the valid arguments for the HasProperty function:
Parameter |
Valid Type/Value |
Description |
---|---|---|
ClassId |
VT_BSTR – Name of a property |
Identifies a class name for a property. |
ClassId |
VT_BSTR – ID of a property |
Identifies a class identifier for a property. |
MustBeOn [optional] |
VT_I4 – SC_ModelPropertyFlags that must be set |
Provides a set of required flags. |
MustBeOn [optional] |
Empty |
Default is set to the MustBeOn filter that was used to create the property collection. |
MustBeOff [optional] |
VT_I4 – SC_ModelPropertyFlags that must not be set |
Provides a set of flags that must not be set. |
MustBeOff [optional] |
Empty |
Default is set to the MustBeOff filter that was used to create the property collection. |
Note: For information about valid property class identifiers and valid property class names, see the HTML document ERwin Metamodel Reference, in the Metamodel Reference Bookshelf located in the CA ERwin Data Modeler installation folder. More information about SC_ModelPropertyFlags is located in the Enumerations section.
Copyright © 2016 CA Technologies.
All rights reserved.
|
|