Click or drag to resize

mcobjClassFactoryFlags Enumeration

Constants for the McObjects.RegisterInterfaceClassFactory eControlFlags argument.Flags can be Or'ed together.

Namespace:  MediaCy.IQL.ObjectManager
Assembly:  MediaCy.IQL.ObjectManager (in MediaCy.IQL.ObjectManager.dll) Version: 10.0.6912.0
Syntax
VB
Public Enumeration mcobjClassFactoryFlags
Members
  Member nameValueDescription
mcobjClassFactoryDefault0Default flags.
mcobjClassFactoryEachNew0(The default) Each firing of theClass Factory creates a new instance of the interface .
mcobjClassFactoryOnceOnly1Only one instance of theinterface is created; subsequent firings of the Class Factory use the existing instance. The original instance is not Released until the class factory is unregistered.
mcobjClassFactoryIDispatch0(The default) The IID for theClass Factory is an interface derived from IDispatch; that is, it is either a dispinterface or a dual interface. The registered Object type is derived from mcobjTypeXOBJECT, and the Value of such an IMcObject will be of type VT_DISPATCH.
mcobjClassFactoryIUnknown2The IID for the Class Factory maybe a custom interface. The registered Object type is derived from mcobjTypeINTERFACE, and the Value of such an IMcObject will be of type VT_UNKNOWN.
See Also