IMetabase.SpecialObject

Syntax

SpecialObject(Index: MetabaseSpecialObject): IMetabaseObjectDescriptor;

Parameters

Index. Type of special repository object.

Description

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

Comments

The Index parameter sends the object type.

Example

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:

IMetabase