IVsLiteTreeEvents::OnToggleExpansion Method (UInt32, Int32)
Visual Studio 2015
Called when an item enters or leaves the expanded state.
Assembly: Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
Parameters
- AbsIndex
-
Type:
System::UInt32
[In] An unsigned integer containing the Absolute Index of the Item.
- cChange
-
Type:
System::Int32
[In] An integer indicating the state change of the specified item.
Return Value
Type: System::Int32If the method succeeds, it returns S_OK. If it fails, it returns an error code.
From vsshell.idl:
HRESULT IVsLiteTreeEvents::OnToggleExpansion( [in] ULONG AbsIndex, [in] long cChange );
Show: