The CollectionDef 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.
The default Flags property determines:
See the CollectionDefFlags Enumeration for a list of values and their specific purposes.
The IInterfaceDef Flags property is 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.)
object.Flags
The Flags property syntax has the following parts.
Part | Description |
object | An object expression that evaluates to a CollectionDef 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. |
For details on how to access a member of an interface that is not the default interface, see Accessing Automation Object Members