IRubricatorFactData.Factor

Syntax

Factor: IRubricatorFactor;

Description

The Factor property returns the time series, to which the data belongs.

Example

Executing the example requires a time series database with the OBJ_RUBRICATOR identifier. This database contains a time series with the Albania|BCA|Years mnemonic.

Sub UserProc;
Var
    MB: IMetabase;
    RubrIn: IRubricatorInstance;
    FactD: IRubricatorFactData;
    RubFactor: IRubricatorFactor;
Begin
    MB := MetabaseClass.Active;
    RubrIn := MB.ItemById("OBJ_RUBRICATOR").Open(NullAs IRubricatorInstance;
    FactD := RubrIn.GetFactDataByMnemo("Albania|BCA|Years");
    Debug.WriteLine("Revision name: " + FactD.Revision.Name);
    RubFactor := FactD.Factor;
    Debug.WriteLine("Indicator key: " + RubFactor.Factor.ToString);
End Sub UserProc;

After executing the example the console window displays information about the specified time series.

See also:

IRubricatorFactData