IVsLiteTreeEvents::OnToggleState Method (UInt32, UInt32)
Visual Studio 2015
Called when an icon changes 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.
- tscr
-
Type:
System::UInt32
[In] An object of type VSTREESTATECHANGEREFRESH
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::OnToggleState( [in] ULONG AbsIndex, [in] VSTREESTATECHANGEREFRESH tscr );
Show: