IVsDropdownBarClientEx.GetEntryIndent 方法

返回特定下拉栏 /windows 组合项目的缩进级别。

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

语法

声明
Function GetEntryIndent ( _
    iCombo As Integer, _
    iIndex As Integer, _
    <OutAttribute> ByRef pIndent As UInteger _
) As Integer
int GetEntryIndent(
    int iCombo,
    int iIndex,
    out uint pIndent
)
int GetEntryIndent(
    [InAttribute] int iCombo, 
    [InAttribute] int iIndex, 
    [OutAttribute] unsigned int% pIndent
)
abstract GetEntryIndent : 
        iCombo:int * 
        iIndex:int * 
        pIndent:uint32 byref -> int
function GetEntryIndent(
    iCombo : int, 
    iIndex : int, 
    pIndent : uint
) : int

参数

  • iCombo
    类型:Int32

    [in] 组合下拉栏/的窗口。

  • iIndex
    类型:Int32

    [in] 项的索引相关。

  • pIndent
    类型:UInt32%

    [out] iIndex 项目的缩进级别。

返回值

类型:Int32
如果方法成功,则返回 S_OK。如果失败,它会返回一个错误代码。

备注

COM 签名

从 textmgr2.idl:

HRESULT IVsDropdownBarClientEx::GetEntryIndent(
   [in] long iCombo,
   [in] long iIndex,
   [out] ULONG *pIndent
);

.NET Framework 安全性

请参阅

参考

IVsDropdownBarClientEx 接口

Microsoft.VisualStudio.TextManager.Interop 命名空间