CommandBarComboBoxClass.AddItem Method
Namespace: Microsoft.Office.Core
Assembly: office (in office.dll)
Syntax
'Declaration
Public Overridable Sub AddItem ( _
Text As String, _
Index As Object _
)
'Usage
Dim instance As CommandBarComboBoxClass
Dim Text As String
Dim Index As Object
instance.AddItem(Text, Index)
public virtual void AddItem(
string Text,
Object Index
)
Parameters
- Text
Type: System.String
- Index
Type: System.Object
Implements
_CommandBarComboBox.AddItem(String, Object)