IVsLiteTree.ToggleExpansionAbsolute(UInt32, Int32, Int32) Method

Definition

Expands an item by selected by absolute index.

C++/WinRT
int ToggleExpansionAbsolute(unsigned int index, [Runtime::InteropServices::Out] int & pfCanRecurse, [Runtime::InteropServices::Out] int & pChange);

Parameters

index
UInt32

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

pfCanRecurse
Int32

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

pChange
Int32

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

Returns

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  
);  

Applies to

製品 バージョン
Visual Studio SDK 2015, 2017, 2019, 2022