Freigeben über


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
'Usage
Dim instance As IVsLiteTree
Dim index As UInteger
Dim pfCanRecurse As Integer
Dim pChange As Integer
Dim returnValue As Integer

returnValue = instance.ToggleExpansionAbsolute(index, _
    pfCanRecurse, pChange)
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: System.UInt32
    [in] Integer. The absolute index of the node to expand.
  • pfCanRecurse
    Type: System.Int32%
    [out] Pointer to a Boolean. Set to true if the tree list can be recursive.
  • pChange
    Type: System.Int32%
    [out] Pointer to an integer. Set to zero (0) if there is no change.

Return Value

Type: System.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

IVsLiteTree Members

Microsoft.VisualStudio.Shell.Interop Namespace