Show contents 

Dimensions > Dimensions Assembly Interfaces > IStandardDimAttribute > IStandardDimAttribute.DataType

IStandardDimAttribute.DataType

Syntax

DataType: DbDataType;

Description

The DataType property determines type of dictionary attribute data.

Example

Sub UserProc;
Var
    MB: IMetabase;
    Dimens: IStandardDimension;
    DimAtrrs: IStandardDimAttributes;
    DimAtribut: IStandardDimAttribute;
    i: Integer;
Begin
    MB:=MetabaseClass.Active;
    Dimens:=MB.ItemById("TAB_DIM").Bind As IStandardDimension;
    DimAtrrs:=Dimens.Attributes;
    DimAtribut:=DimAtrrs.Item(0);
    i:=DimAtribut.DataType;
End Sub UserProc;

After executing the example the "i" variable contains type of data stored in the first attribute of tabular dictionary, converted to integer. Table dictionary identifier:: TAB_DIM.

See also:

IStandardDimAttribute