WriteObject/WriteVersion
Purpose
The CMetaClassDesc WriteObject and WriteVersion functions update the CMetaClassDesc object.
Description
The properties of a CMetaClassDesc object that can be modified are:
Updates to other fields will be ignored.
It is recommended that you do not change the names of the ClientLoadModel classes.
Restriction
When updating an existing class, you can not remove from it or add to it a SuperClass that has properties. When initially creating a class with superclasses, the superclasses can contain properties. However, after the initial WriteObject() for a class definition has completed successfully, any superclasses added or removed from the class can not have properties.
Requirements
The ObjectID must be set.
The engine does not permit updates to the following predefined CMetaAIM objects:
ObjectID |
Name |
100-1063 |
MDSMetaModel classes |
Syntax
HRESULT WriteObject ();
HRESULT WriteVersion ();