Freigeben über


CommandBarComboBoxClass.RemoveItem Method

Removes the item at the specified index. This method is deprecated.

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

Syntax

'Declaration
Public Overridable Sub RemoveItem ( _
    Index As Integer _
)
public virtual void RemoveItem(
    int Index
)
public:
virtual void RemoveItem(
    [InAttribute] int Index
)
abstract RemoveItem : 
        Index:int -> unit  
override RemoveItem : 
        Index:int -> unit
public function RemoveItem(
    Index : int
)

Parameters

  • Index
    Type: Int32

    The index of the item to remove.

Implements

_CommandBarComboBox.RemoveItem(Int32)

Remarks

This method throws a DeprecatedException when called.

.NET Framework Security

See Also

Reference

CommandBarComboBoxClass Class

Microsoft.VisualStudio.CommandBars Namespace