ToggleExpansionAbsolute Method
The document is archived and information here might be outdated

IVsLiteTree.ToggleExpansionAbsolute Method

Expands an item by selected by absolute index.

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

int ToggleExpansionAbsolute (
	[InAttribute] uint index,
	out int pfCanRecurse,
	out int pChange
int ToggleExpansionAbsolute (
	/** @attribute InAttribute() */ UInt32 index, 
	/** @attribute OutAttribute() */ /** @ref */ int pfCanRecurse, 
	/** @attribute OutAttribute() */ /** @ref */ int pChange
JScript does not support passing value-type arguments by reference.



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


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


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

Return Value

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

COM Signature


From vsshell.idl:

HRESULT IVsLiteTree::ToggleExpansionAbsolute(
   [in] ULONG Index, 
   [out] BOOL *pfCanRecurse, 
   [out] long *pChange
© 2016 Microsoft