Compartilhar via


IVsLiteTree.ToggleExpansionAbsolute Method

Expands an item by selected by absolute index.

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)

Syntax

'Declaration
Function ToggleExpansionAbsolute ( _
    index As UInteger, _
    <OutAttribute> ByRef pfCanRecurse As Integer, _
    <OutAttribute> ByRef pChange As Integer _
) As Integer
int ToggleExpansionAbsolute(
    uint index,
    out int pfCanRecurse,
    out int pChange
)
int ToggleExpansionAbsolute(
    [InAttribute] unsigned int index, 
    [OutAttribute] int% pfCanRecurse, 
    [OutAttribute] int% pChange
)
abstract ToggleExpansionAbsolute : 
        index:uint32 * 
        pfCanRecurse:int byref * 
        pChange:int byref -> int
function ToggleExpansionAbsolute(
    index : uint, 
    pfCanRecurse : int, 
    pChange : int
) : int

Parameters

  • index
    Type: UInt32

    [in] Integer. The absolute index of the node to expand.

  • pfCanRecurse
    Type: Int32%

    [out] Pointer to a Boolean. Set to true if the tree list can be recursive.

  • pChange
    Type: Int32%

    [out] Pointer to an integer. Set to zero (0) if there is no change.

Return Value

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

Remarks

COM Signature

[C++]

From vsshell.idl:

HRESULT IVsLiteTree::ToggleExpansionAbsolute(
   [in] ULONG Index, 
   [out] BOOL *pfCanRecurse, 
   [out] long *pChange
);

.NET Framework Security

See Also

Reference

IVsLiteTree Interface

Microsoft.VisualStudio.Shell.Interop Namespace