Share via


PublishObjects.Item Property

Returns a single object from a collection.

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 PublishObject
    Get
'Usage
Dim instance As PublishObjects
Dim Index As Object
Dim value As PublishObject

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

Parameters

  • Index
    Type: System.Object

    Required Object. The name or index number of the object.

Property Value

Type: Microsoft.Office.Interop.Excel.PublishObject

See Also

Reference

PublishObjects Interface

PublishObjects Members

Microsoft.Office.Interop.Excel Namespace