IVsSimplePreviewChangesList.ToggleState(UInt32, UInt32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Toggles the checked state of the specified item in the preview list.
public:
int ToggleState(System::UInt32 index, [Runtime::InteropServices::Out] System::UInt32 % ptscr);
int ToggleState(unsigned int index, [Runtime::InteropServices::Out] unsigned int & ptscr);
public int ToggleState (uint index, out uint ptscr);
abstract member ToggleState : uint32 * uint32 -> int
Public Function ToggleState (index As UInteger, ByRef ptscr As UInteger) As Integer
Parameters
- index
- UInt32
[in] The index of the item for which to change the checked state.
- ptscr
- UInt32
[out] Returns a value from the _VSTREESTATECHANGEREFRESH enumeration indicating whether any children of this item also need to be refreshed in the display.
Returns
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Remarks
COM Signature
From vsshell80.idl:
HRESULT IVsSimplePreviewChangesList::ToggleState(
[in] ULONG Index,
[out] VSTREESTATECHANGEREFRESH *ptscr
);