Condividi tramite


Metodo 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.

Spazio dei nomi:  Microsoft.VisualStudio.TextManager.Interop
Assembly:  Microsoft.VisualStudio.TextManager.Interop.12.1.DesignTime (in Microsoft.VisualStudio.TextManager.Interop.12.1.DesignTime.dll)

Sintassi

'Dichiarazione
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

Parametri

  • iCombo
    Tipo: Int32

    The index of the combo.

  • piWidthPercent
    Tipo: Int32%

    [out] The width in per cent.

Valore restituito

Tipo: Int32
The HRESULT.

Sicurezza di .NET Framework

Vedere anche

Riferimenti

IVsDropdownBarClient3 Interfaccia

Spazio dei nomi Microsoft.VisualStudio.TextManager.Interop