Operation(
Oper: MetabaseObjectOperation;
Index: MetabaseSpecialObject): IMetabaseObjectDescriptor;
Oper. An operation that should be performed with the special object.
Index. A special object on which the operation should be performed.
The Operation method performs the specified operation with the special repository object.
This method is meant to work with the following special objects:
Global variables.
Custom classes container.
The Operation method is activated automatically when working with the global variables and containers of the custom classes in the navigator of objects. When working in new repositories it is not recommended to use the IMetabase.CreateObject method to create new container of custom classes, the area of global variables, the appropriate objects of the MetabaseObjectClass.KE_CLASS_CUSTOM_EXTENDER and MetabaseObjectClass.KE_CLASS_SHAREDPARAMS classes. Use for it this method with the MetabaseObjectOperation.Create parameter or with the MetabaseObjectOperation.CreateAndEdit parameter.
If the user activates the method with the MetabaseObjectOperation.Create parameter or with the MetabaseObjectOperation.CreateAndEdit parameter in the repository where the container of custom classes and area of global variables exist, it results in receiving the appropriate present object.
See also: