Dimension: IPivotDimension;
The Dimension property returns parent object.
To get an object that is used to work with dimension level, use IPivotDimensionLevels.Item.
See also:
IPivotDimensionLevels