IVsLiteTree::ToggleExpansionAbsolute Method (UInt32, Int32, Int32)

 

Expands an item by selected by absolute index.

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

int ToggleExpansionAbsolute(
	unsigned int index,
	[OutAttribute] int% pfCanRecurse,
	[OutAttribute] int% pChange
)

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.

[C++]

From vsshell.idl:

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