共用方式為


IVsDropdownBarClientEx.GetEntryIndent Method

Returns the indent level for a particular drop-down bar/Window combo item.

Namespace:  Microsoft.VisualStudio.TextManager.Interop
Assembly:  Microsoft.VisualStudio.TextManager.Interop.8.0 (in Microsoft.VisualStudio.TextManager.Interop.8.0.dll)

Syntax

'宣告
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

Parameters

  • iCombo
    Type: System.Int32
    [in] The drop-down bar/Window combo.
  • iIndex
    Type: System.Int32
    [in] Index of the item of interest.
  • pIndent
    Type: System.UInt32%
    [out] Indent level of iIndex item.

Return Value

Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Remarks

COM Signature

From textmgr2.idl:

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

.NET Framework Security

See Also

Reference

IVsDropdownBarClientEx Interface

Microsoft.VisualStudio.TextManager.Interop Namespace