SpecialObject(Index: MetabaseSpecialObject): IMetabaseObjectDescriptor;
Index. Type of special repository object.
The SpecialObject property determines the repository object that is a special one.
The Index parameter sends the object type.
Executing the example requires that the repository contains a map with the RUSSIA identifier.
Add a link to the Metabase system assembly.
Sub UserProc;
Var
MB: IMetabase;
Begin
MB := MetabaseClass.Active;
MB.SpecialObject(MetabaseSpecialObject.DefaultTopobase) := MB.ItemById("RUSSIA");
End Sub UserProc;
After executing the example the RUSSIA map is set as a default map for the current repository.
See also: