PivotLineCells.Item Property

Returns a specific element of the PivotLineCells collection object identified by its position in the collection. Read-only.

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

Syntax

'Declaration
ReadOnly Property Item ( _
    Index As Object _
) As PivotCell
    Get
'Usage
Dim instance As PivotLineCells
Dim Index As Object
Dim value As PivotCell

value = instance.Item(Index)
PivotCell this[
    Object Index
] { get; }

Parameters

  • Index
    Type: System.Object

    Required Object Specifies the position of an element of the collection.

Property Value

Type: Microsoft.Office.Interop.Excel.PivotCell
PivotCell

See Also

Reference

PivotLineCells Interface

PivotLineCells Members

Microsoft.Office.Interop.Excel Namespace