Id(Element: Integer): String;
Element - index of dictionary element.
The Id property returns value of the Identifier attribute for the element with the Element index.
The IDimAttributeInstance.Value property is used to get value of this property.
Sub Main;
Var
MB: IMetabase;
Dimen: IDimInstance;
Elem: IDimElements;
s: String;
Begin
MB:=MetabaseClass.Active;
Dimen:=MB.ItemById("D_TO").Open(Null) As IDimInstance;
Elem:=Dimen.Elements;
s:=Elem.Id(10);
End Sub Main;
After executing the example the "s" variable contains value of ID attribute for the tenth dictionary element. Repository object identifier: D_TO.
See also: