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