IDropDown.AddItem Method
Namespace: Microsoft.Office.Interop.Excel
Assembly: Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.dll)
Syntax
'Declaration
Function AddItem ( _
Text As Object, _
Index As Object _
) As Object
'Usage
Dim instance As IDropDown
Dim Text As Object
Dim Index As Object
Dim returnValue As Object
returnValue = instance.AddItem(Text, Index)
Object AddItem(
Object Text,
Object Index
)
Parameters
- Text
Type: System.Object
- Index
Type: System.Object
Return Value
Type: System.Object