IVsDropdownBar2.GetComboEnabled 方法

Gets the current enabled status of a dropdown bar.

命名空间:  Microsoft.VisualStudio.TextManager.Interop
程序集:  Microsoft.VisualStudio.TextManager.Interop.12.1.DesignTime(在 Microsoft.VisualStudio.TextManager.Interop.12.1.DesignTime.dll 中)

语法

声明
Function GetComboEnabled ( _
    iCombo As Integer, _
    <OutAttribute> ByRef pbEnabled As Integer _
) As Integer
int GetComboEnabled(
    int iCombo,
    out int pbEnabled
)
int GetComboEnabled(
    [InAttribute] int iCombo, 
    [OutAttribute] int% pbEnabled
)
abstract GetComboEnabled : 
        iCombo:int * 
        pbEnabled:int byref -> int
function GetComboEnabled(
    iCombo : int, 
    pbEnabled : int
) : int

参数

  • iCombo
    类型:Int32

    The combo box.

  • pbEnabled
    类型:Int32%

    [out] true if the dropdown bar is enabled, otherwise false.

返回值

类型:Int32
The HRESULT.

.NET Framework 安全性

请参阅

参考

IVsDropdownBar2 接口

Microsoft.VisualStudio.TextManager.Interop 命名空间