Click or drag to resize

IMcObjects Methods

The IMcObjects type exposes the following members.

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
See Also