Dimension: IDimInstance;
The Dimension property returns the dimension, for which elements it is required to set up custom names.
To get a custom name of dimension element by its index, use the IPivotCustomDimNaming.ElementName property.
The property use is given in the example for IPivotDimNamings.CustomNaming.
See also: