IControlFormat.AddItem Method
Namespace: Microsoft.Office.Interop.Excel
Assembly: Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.dll)
Syntax
'Declaration
Sub AddItem ( _
Text As String, _
Index As Object _
)
'Usage
Dim instance As IControlFormat
Dim Text As String
Dim Index As Object
instance.AddItem(Text, Index)
void AddItem(
string Text,
Object Index
)
Parameters
- Text
Type: System.String
- Index
Type: System.Object