Enables or disables a dropdown bar.
命名空间: Microsoft.VisualStudio.TextManager.Interop
程序集: Microsoft.VisualStudio.TextManager.Interop.12.1.DesignTime(在 Microsoft.VisualStudio.TextManager.Interop.12.1.DesignTime.dll 中)
语法
声明
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
参数
iCombo
类型:Int32The index of the combo box.
bEnabled
类型:Int32[out] true if enabled, otherwise false.
返回值
类型:Int32
The HRESULT.
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关详细信息,请参阅通过部分受信任的代码使用库。