ISpecialObjects.Operation

Fore Syntax

Operation(

Oper: MetabaseObjectOperation;

Index: MetabaseSpecialObject): IMetabaseObjectDescriptor;

Fore.NET Syntax

Operation(

Oper: Prognoz.Platform.Interop.Metabase.MetabaseObjectOperation;

Index: Prognoz.Platform.Interop.Metabase.MetabaseSpecialObject): Prognoz.Platform.Interop.Metabase.IMetabaseObjectDescriptor;

Parameters

Oper. An operation that should be performed with the special object.

Index. A special object on which the operation should be performed.

Description

The Operation method performs the specified operation with the special repository object.

Comments

This method is meant to work with the following special objects:

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:

ISpecialObjects