IVsDropdownBarClient3.GetComboWidth 方法

Gets the width of the column by percent. If all the columns return 0, the default width is used. The value should be between 0 and 100.

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

语法

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

参数

  • iCombo
    类型:Int32

    The index of the combo.

  • piWidthPercent
    类型:Int32%

    [out] The width in per cent.

返回值

类型:Int32
The HRESULT.

.NET Framework 安全性

请参阅

参考

IVsDropdownBarClient3 接口

Microsoft.VisualStudio.TextManager.Interop 命名空间