Share via


PivotItem.Position Property

Position of the item in its field if the item is currently showing. Read/write Integer.

Namespace:  Microsoft.Office.Interop.Excel
Assembly:  Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.dll)

Syntax

'Declaration
Property Position As Integer
    Get
    Set
'Usage
Dim instance As PivotItem
Dim value As Integer

value = instance.Position

instance.Position = value
int Position { get; set; }

Property Value

Type: System.Int32

Remarks

For a CubeFields collection, this property returns the position of the hierarchy field on the PivotTable report when it’s dragged from the field well.

See Also

Reference

PivotItem Interface

PivotItem Members

Microsoft.Office.Interop.Excel Namespace