PropertyDef Flags Property

Meta Data Services Programming

Meta Data Services Programming

PropertyDef Flags Property

The PropertyDef object exposes two separate Flags properties. Both the default interface, IPropertyDef, and a non-default interface, IInterfaceMember, expose a Flags property that you can set.

  • The IPropertyDef Flags property is ignored. It is preserved for backward compatibility. Originally, this flag specified whether to create a column for the property. Column creation would occur in the SQL table providing persistent storage for the interface to which the property is attached. Without a column, instances of the property only attached to individual objects when setting the property value for that particular object.

  • The IInterfaceMember Flags property specifies whether the interface member should be visible to Automation queries. For more information about flag values, see the InterfaceMemberFlags Enumeration.
Syntax

object.Flags

The Flags property syntax has the following part.

Part Description
object An object expression that evaluates to a PropertyDef object, for the default Flags property

-or-

An object expression that evaluates to an object that exposes IInterfaceMember as the default interface, for the alternate Flags property


Remarks

For more information about accessing a member of an interface that is not the default interface, see Accessing Automation Object Members.

See Also

IInterfaceMember Interface

PropertyDef Object