IVsLiteTree::ToggleStateAbsolute Method (UInt32, UInt32)
Visual Studio 2015
Toggles the state of an item. An item may have more than two states.
Assembly: Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
Parameters
- AbsIndex
-
Type:
System::UInt32
[in] Integer containing the absolute index of the node.
- ptscr
-
Type:
System::UInt32
[out] Pointer to a value from the _VSTREESTATECHANGEREFRESH.enumeration indicating what type of refresh needs to do.
Return Value
Type: System::Int32If the method succeeds, it returns S_OK. If it fails, it returns an error code.
[C++]
From vsshell.idl:
HRESULT IVsLiteTree::ToggleStateAbsolute( [in] ULONG AbsIndex, [out] VSTREESTATECHANGEREFRESH *ptscr );
Show: