ISCModelPropertyCollection::HasPropertyFacets Arguments

Here is the signature for the HasPropertyFacets function:

VARIANT_BOOL HasPropertyFacets(VARIANT ClassId, VARIANT FlagsMustBeOn, VARIANT FlagsMustBeOff, VARIANT FacetsMustBeSet)

The following table contains the valid arguments for the HasPropertyFacets 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.

FlagsMustBeOn [optional]

VT_I4 � SC_ModelPropertyFlags that must be set

Provides a set of required flags.

FlagsMustBeOn [optional]

Empty

Default is set to the MustBeOn filter that was used to create the property collection.

FlagsMustBeOff [optional]

VT_I4 � SC_ModelPropertyFlags that must not be set

Provides a set of flags that must not be set.

FlagsMustBeOff [optional]

Empty

Default is set to the MustBeOff filter that was used to create the property collection.

FacetsMustBeSet [optional]

SAFEARRAY(VT_I4) � array of facet IDs

Indicates one or more facets that a property must have.

FacetsMustBeSet [optional]

SAFEARRAY(VT_BSTR) � array of facet names

Indicates one or more facets that a property must have.

FacetsMustBeSet [optional]

VT_BSTR � string with facet names separated by�semicolon

Indicates one or more facets that a property must have.

FacetsMustBeSet [optional]

Empty

No facet requirements

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 erwin� Data Modeler installation folder. More information about SC_ModelPropertyFlags is located in the Enumerations section. More information about FacetsMustBeSet is located in the Property Bag for Application Environment section.