IMetabaseObjectDescriptor.IsSpecial

Syntax

IsSpecial(Index: MetabaseSpecialObject): Boolean;

Parameters

Index - a type of a special repository object.

Description

The IsSpecial property indicates whether the object belongs to special repository objects.

Comments

If the property is set to True, the current object is a special repository object. The type of special object is set in 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.ItemById("RUSSIA").IsSpecial(MetabaseSpecialObject.DefaultTopobase) := True;
End Sub UserProc;

After executing this example the RUSSIA map is set as a default map for the current repository.

See also:

IMetabaseObjectDescriptor