IMetaAttributesSet.BaseSet

Syntax

BaseSet: IMetaAttributesSet;

Description

The BaseSet property returns the basic set of attributes.

Example

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

Sub Main;

Var

MB: IMetabase;

Rubr: IRubricator;

Facts: IMetaDictionary;

Atts: IMetaAttributes;

AttsSet: IMetaAttributesSet;

BaseSet: IMetaAttributesSet;

i: Integer;

Begin

MB := MetabaseClass.Active;

Rubr := MB.ItemById("OBJ_FC").Bind As IRubricator;

Facts := Rubr.Facts;

Atts := Facts.Attributes;

AttsSet := Atts.CreateSubset("", SubsetOperation.Select_);

BaseSet := AttsSet.BaseSet;

For i := 0 To BaseSet.Count - 1 Do

Debug.WriteLine(BaseSet.Item(i).Name);

End For;

End Sub Main;

After executing the example the console window displays a basis set of attributes for a system table that contains information about factors.

See also:

IMetaAttributesSet