Freigeben über


IVsDropdownBar2.SetComboEnabled-Methode

Enables or disables a dropdown bar.

Namespace:  Microsoft.VisualStudio.TextManager.Interop
Assembly:  Microsoft.VisualStudio.TextManager.Interop.12.1.DesignTime (in Microsoft.VisualStudio.TextManager.Interop.12.1.DesignTime.dll)

Syntax

'Declaration
Function SetComboEnabled ( _
    iCombo As Integer, _
    bEnabled As Integer _
) As Integer
int SetComboEnabled(
    int iCombo,
    int bEnabled
)
int SetComboEnabled(
    [InAttribute] int iCombo, 
    [InAttribute] int bEnabled
)
abstract SetComboEnabled : 
        iCombo:int * 
        bEnabled:int -> int
function SetComboEnabled(
    iCombo : int, 
    bEnabled : int
) : int

Parameter

  • iCombo
    Typ: Int32

    The index of the combo box.

  • bEnabled
    Typ: Int32

    [out] true if enabled, otherwise false.

Rückgabewert

Typ: Int32
The HRESULT.

.NET Framework-Sicherheit

Siehe auch

Referenz

IVsDropdownBar2 Schnittstelle

Microsoft.VisualStudio.TextManager.Interop-Namespace