IMetabaseObjectControlInfo.GetObjectControlIsEmpty

Syntax

GetObjectControlIsEmpty(ObjectKey: Integer): Boolean;

Parameters

ObjectKey. Nested object key.

Description

The GetObjectControlIsEmpty method returns whether there are no settings to manage parameters of the specified object.

Comments

Available values:

Example

Executing the example requires that the repository contains a cube with the STD_CUBE identifier. This cube has the dimension in the structure which is built basing the COUNTRY parametric dictionary. Add a link to the Metabase system assembly.

Sub UserProc;
Var
    MB: IMetabase;
    MObj: IMetabaseObject;
    ControlInfo: IMetabaseObjectControlInfo;
    ControlEmpty: Boolean;
Begin
    MB := MetabaseClass.Active;
    MObj := Mb.ItemById("STD_CUBE").Edit;
    ControlInfo := MObj.Params.ControlInfo;
    ControlEmpty := ControlInfo.GetObjectControlIsEmpty(MB.GetObjectKeyById("COUNTRY"));
    Debug.WriteLine(ControlEmpty);
End Sub UserProc;

After executing the example, the development environment console displays True, if parameter management is not set up for the COUNTRY dictionary in cube and it displays False, if it is set up.

See also:

IMetabaseObjectControlInfo