Compartir a través de


_CommandBarComboBox.AddItem Method

Adds an item. This method is deprecated.

Namespace:  Microsoft.VisualStudio.CommandBars
Assembly:  Microsoft.VisualStudio.CommandBars (in Microsoft.VisualStudio.CommandBars.dll)

Syntax

'Declaración
Sub AddItem ( _
    Text As String, _
    Index As Object _
)
'Uso
Dim instance As _CommandBarComboBox
Dim Text As String
Dim Index As Object

instance.AddItem(Text, Index)
void AddItem(
    string Text,
    Object Index
)
void AddItem(
    [InAttribute] String^ Text, 
    [InAttribute] Object^ Index
)
abstract AddItem : 
        Text:string * 
        Index:Object -> unit 
function AddItem(
    Text : String, 
    Index : Object
)

Parameters

Remarks

This method is deprecated, and throws a DeprecatedException when called.

.NET Framework Security

See Also

Reference

_CommandBarComboBox Interface

_CommandBarComboBox Members

Microsoft.VisualStudio.CommandBars Namespace