Share via


COMAddIns.Item Method

Returns a member of the specified COMAddIns collection.

Namespace:  Microsoft.Office.Core
Assembly:  office (in office.dll)

Syntax

'Declaration
Function Item ( _
    ByRef Index As Object _
) As COMAddIn
'Usage
Dim instance As COMAddIns
Dim Index As Object
Dim returnValue As COMAddIn

returnValue = instance(Index)
COMAddIn Item(
    ref Object Index
)

Parameters

  • Index
    Type: System.Object

    Required Object. Either an ordinal value that returns the COM add-in at that position in the COMAddIns collection, or a String value that represents the ProgID of the specified COM add-in.

Return Value

Type: Microsoft.Office.Core.COMAddIn

See Also

Reference

COMAddIns Interface

COMAddIns Members

Microsoft.Office.Core Namespace