Edit: IMetabaseObject;
The Edit method opens object in the edit mode.
After activation of the method the structure of object and its description will be available for edit.
To save changes of the object structure, the IMetabaseObject.Save method is used. To save object description, the IMetabaseObjectDescriptor.SaveDescriptor method is used. On saving object structure, its description is also saved.
If the current object is a shortcut to the object, editing the shortcut also opens the corresponding object for edit. Cast result of the Edit method execution to the interface that is responsible for the corresponding type of objects, to edit required parameters or structure. If the current object is a shortcut for an object from a different repository, editing the shortcut does not allow to edit object structure due to implementation features. Deleting the shortcut does not delete the corresponding repository object. Various modes of working with shortcuts see in examples in the Working with Shortcut subsection.
See also:
IMetabaseObjectDescriptor | IMetabaseObjectDescriptor.EditDescriptor | IMetabaseObject.Save | IMetabaseObjectDescriptor.SaveDescriptor