IVsHiddenRegion::SetState Method (UInt32, UInt32)
Visual Studio 2015
Sets the state of the hidden region.
Assembly: Microsoft.VisualStudio.TextManager.Interop (in Microsoft.VisualStudio.TextManager.Interop.dll)
Parameters
- dwState
-
Type:
System::UInt32
[in] State of the hidden region in regards to whether the region is expanded or collapsed. For more information, see HIDDEN_REGION_STATE.
- dwUpdate
-
Type:
System::UInt32
[in] State of the hidden region in regards to whether the region is added to the Undo/Redo stack. For more information, see CHANGE_HIDDEN_REGION_FLAGS.
Return Value
Type: System::Int32If the method succeeds, it returns S_OK. If it fails, it returns an error code.
From textmgr.idl:
HRESULT IVsHiddenRegion::SetState( [in] DWORD dwState, [in] DWORD dwUpdate );
Show: