Share via


Styles.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 Style
    Get
'Usage
Dim instance As Styles
Dim Index As Object
Dim value As Style

value = instance.Item(Index)
Style 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.Style

See Also

Reference

Styles Interface

Styles Members

Microsoft.Office.Interop.Excel Namespace