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
类型:Int32The index of the combo.
piWidthPercent
类型:Int32%[out] The width in per cent.
返回值
类型:Int32
The HRESULT.
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关详细信息,请参阅通过部分受信任的代码使用库。