IMetaAttributesBreadcrumb.Dictionary

Syntax

Dictionary: IMetaDictionaryInstance;

Description

The Dictionary property determines the dictionary, for which the MetaAttributesBreadcrumb component is set up.

Example

Executing the example requires a form with a button with the Button1 identifier and the MetaAttributesBreadcrumb component with the MetaAttributesBreadcrumb1 identifier. The repository must contains a time series database with the OBJ_FC identifier. Click the button to start executing the example.

Sub Button1OnClick(Sender: Object; Args: IMouseEventArgs);

Var

mb: IMetabase;

rubDescr: IMetabaseObjectDescriptor;

dict: IMetaDictionary;

dictInst: IMetaDictionaryInstance;

rubInst: IRubricatorInstance;

Begin

mb := MetabaseClass.Active;

rubDescr := mb.ItemById("OBJ_FC");

rubInst := rubDescr.Open(Null) As IRubricatorInstance;

dictInst := rubInst.GetDictionary(RubricatorDictionary.Facts);

If dictInst <> Null Then

dict := (dictInst As IMetabaseObjectInstance).Object As IMetaDictionary;

MetaAttributesBreadcrumb1.Dictionary := dictInst;

MetaAttributesBreadcrumb1.MetaAttributes := dict.Attributes;

End If;

End Sub Button1OnClick;

After executing the example the MetaAttributesBreadcrumb component is set for the indicators dictionary of a time series database.

See also:

IMetaAttributesBreadcrumb