Click or drag to resize

IMcObjects Interface

Interface exposing properties and methods for maintaining a collection of McObject instances.

Namespace:  MediaCy.IQL.ObjectManager
Assembly:  MediaCy.IQL.ObjectManager (in MediaCy.IQL.ObjectManager.dll) Version: 10.0.6912.0
Syntax
VB
Public Interface IMcObjects
	Inherits IEnumerable

The IMcObjects type exposes the following members.

Properties
  NameDescription
Public propertyCount
A read-only property reflecting the Count of McObjects in the collection, as filtered by SetEnumFilters.
Public propertyCreatedObjectsCount
A read-only property giving the count of all existing McObject instances that were created by this McObjects instance.
Public propertyCode exampleGlobalTools
The McOMGlobal class
Public propertyItem
Standard Item property for the McObjects collection.
Public propertyLastErrorCode
Code of last error processed by the common error reporting facility.
Public propertyLastErrorDescription
Description of last error processed by the common error reporting facility.
Public propertyNamespace
A read/write text string property which controls and reflects the default "namespace" for the collection object. This string is initially "McOM".
Top
Methods
  NameDescription
Public methodAdd
Creates a new McObject of a given type, with an optional name, parent and initial value.
Public methodAttachAutoAddToCategory
Associates an object "Auto Add" with a particular McObject category.
Public methodAttachNotifySinkToCategory
Sets up to automatically attach either a standard (IID_IMcObjStandardNotify) or custom sink notification interface to any object which is added to a given category.
Public methodAttachNotifySinkToType
Sets up to automatically attach either a standard (IID_IMcObjStandardNotify) or custom sink notification interface to any object which is created of a given type.
Public methodCategoryNameOrID
The name or ID number of a Category.
Public methodChangeObjectName
Changes an McObject's name, or assigns a name to an unnamed McObject.
Public methodCheckForLegalName
Checks a name string for legal syntax and collision with existing names. Optionally produces a legal name based on the supplied name.
Public methodDetachAutoAddFromCategory
Disables the association of an object "Auto Add" with a particular McObject category.
Public methodDetachNotifySinkFromCategory
Disables the automatic attachment of a standard or custom sink notification interface to objects added to a category
Public methodDetachNotifySinkFromType
Disables the automatic attachment of a standard or custom sink notification interface to objects of a given type.
Public methodGetCategory_NewEnum
Implements a standard collection accessor function for an IEnumVARIANT interface, which allows "for each" enumeration of members of one category and some particular (or no) parent object.
Public methodGetCategoryCount
Returns a count of all McObjects in one category with some particular (or no) parent object, as filtered by SetEnumFilters.
Public methodGetCategoryItem
Implements the standard collection "Item" method for one category and some particular (or no) parent object.
Public methodGetEnumerator
Public methodLookupByTagNumber
Looks up an McObject by its unique TagNumber and ParentMcObject.
Public methodCode exampleMcObjectFromHOBJ
A method to get a particular McObject instance from its InternalHOBJ property.
Public methodRegisterCategory
Registers a new McObjMgr "Category".
Public methodRegisterInterfaceClassFactory
Registers information necessary to instantiate an interface as a new McObjMgr type.
Public methodRegisterType
Register a new type of McObject.
Public methodRemove
Removes an McObject from the collection.
Public methodRemoveAll
Removes all McObjects that were created by this McObjects instance from the collection.
Public methodCode exampleSetEnumFilters
Sets the state of several optional "filters" for the Count, _NewEnum, GetCategoryCount or GetCategory_NewEnum standard IEnumVARIANT interface support routines.
Public methodSetNotifyOrder
Sets the notify order for some sink for one or all objects.
Public methodSetNotifyRules
Sets the notify rules for some sink.
Public methodTypeNameOrID
The name or ID number of a type.
Public methodUnregisterCategory
Unregisters a category previously registered with RegisterCategory.
Public methodUnregisterType
Unregisters a type previously registered with either RegisterType or RegisterInterfaceClassFactory.
Top
Remarks
There is generally only one instance of this interface created per application (though it is legal to create more). Even if there are mulitiple instances of IMcObjects interfaces, there is only one global list of McObject instances maintained per process. The McObjects coclass can instantiate this interface.
See Also