CustomViews.Item Method

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
Function Item ( _
    ViewName As Object _
) As CustomView
'Usage
Dim instance As CustomViews
Dim ViewName As Object
Dim returnValue As CustomView

returnValue = instance.Item(ViewName)
CustomView Item(
    Object ViewName
)

Parameters

  • ViewName
    Type: System.Object

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

Return Value

Type: Microsoft.Office.Interop.Excel.CustomView

See Also

Reference

CustomViews Interface

CustomViews Members

Microsoft.Office.Interop.Excel Namespace