IMetabase.SpecialObject

Syntax

SpecialObject(Index: MetabaseSpecialObject): IMetabaseObjectDescriptor;

Parameters

Index - a type of a special repository object.

Description

The SpecialObject property determines the repository object that is a special one.

Comments

The object type is passed by the Index parameter.

Example

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:

IMetabase