IDimAttributes.Id

Syntax

Id: IDimAttribute;

Description

The Id property returns dictionary attribute that determines ID.

Example

Sub Main;

Var

MB: IMetabase;

DimModel: IDimensionModel;

DimAttrs: IDimAttributes;

DimAttr: IDimAttribute;

i: Integer;

Begin

MB:=MetabaseClass.Active;

DimModel:=MB.ItemById("D_TO").Bind As IDimensionModel;

DimAttrs:=DimModel.Attributes;

DimAttr:=DimAttrs.Id;

i:=DimAttr.Key;

End Sub Main;

After executing the example the "i" variable contains a key of dictionary attribute that determines ID. Repository object identifier: D_TO.

See also:

IDimAttributes