PropertyDef Flags Property

See Also

The PropertyDef object exposes two separate Flags properties. One of these properties is exposed by the default interface, and the other is exposed by the IInterfaceMember interface. They are both described here.

  1. The default Flags property. A flag that specifies whether or not a column is created in the SQL table for the interface to which this property is attached. If no column is created, instances of this property are only attached to individual objects, when the property value is set for that particular object. By default, a column is created for each property. (See the PropertyDefFlags Enumeration for the symbolic and numeric values of this flag.)

  2. The IInterfaceDef Flags property. A flag that specifies whether or not the interface member should be visible to Automation queries. (See the InterfaceMemberFlags Enumeration for a list of values and their specific purposes.)

Syntax

object.Flags

The Flags property syntax has the following parts.

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 details on how to access a member of an interface that is not the default interface, see Accessing Automation Object Members.