This documentation is archived and is not being maintained.

IVsLiteTree.ToggleStateAbsolute Method

Toggles the state of an item. An item may have more than two states.

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

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



[in] Integer containing the absolute index of the node.


[out] Pointer to a value from the _VSTREESTATECHANGEREFRESH.enumeration indicating what type of refresh needs to do.

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::ToggleStateAbsolute(
   [in] ULONG AbsIndex,