Share via


IVsLiteTree.ToggleStateAbsolute(UInt32, UInt32) Method

Definition

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

public:
 int ToggleStateAbsolute(System::UInt32 AbsIndex, [Runtime::InteropServices::Out] System::UInt32 % ptscr);
int ToggleStateAbsolute(unsigned int AbsIndex, [Runtime::InteropServices::Out] unsigned int & ptscr);
public int ToggleStateAbsolute (uint AbsIndex, out uint ptscr);
abstract member ToggleStateAbsolute : uint32 * uint32 -> int
Public Function ToggleStateAbsolute (AbsIndex As UInteger, ByRef ptscr As UInteger) As Integer

Parameters

AbsIndex
UInt32

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

ptscr
UInt32

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

Returns

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Remarks

COM Signature

[C++]

From vsshell.idl:

HRESULT IVsLiteTree::ToggleStateAbsolute(  
   [in] ULONG AbsIndex,   
   [out] VSTREESTATECHANGEREFRESH *ptscr  
);  

Applies to