IRubricator.SetDictionary

Syntax

SetDictionary(Dictionary: RubricatorDictionary; Value: IMetaDictionary);

Parameters

Dictionary. The dictionary that contains data of the time series database.

Value. Repository dictionary.

Description

The CreateFacts method enables the user to determine the repository object that stores information about time series database dictionary.

Example

Executing the example requires that the repository contains a time series database with the OBJ_RUBRICATOR identifier.

Sub Main;

Var

MB: IMetabase;

Rubr: IRubricator;

Dictionary: IMetaDictionary;

Begin

MB := MetabaseClass.Active;

Rubr := MB.ItemById("OBJ_RUBRICATOR").Edit As IRubricator;

Dictionary := Rubr.GetDictionary(RubricatorDictionary.Facts Or

RubricatorDictionary.Values, RubricatorDictionaryOperation.Create);

Rubr.SetDictionary(RubricatorDictionary.FactsValues, Dictionary);

(Rubr As IMetabaseObject).Save;

End Sub Main;

After executing the example a new dictionary that stores information about factors and their values is set.

See also:

IRubricator