IVsHiddenRegion.SetState(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.
Sets the state of the hidden region.
public:
int SetState(System::UInt32 dwState, System::UInt32 dwUpdate);
public:
int SetState(unsigned int dwState, unsigned int dwUpdate);
int SetState(unsigned int dwState, unsigned int dwUpdate);
public int SetState (uint dwState, uint dwUpdate);
abstract member SetState : uint32 * uint32 -> int
Public Function SetState (dwState As UInteger, dwUpdate As UInteger) As Integer
Parameters
- dwState
- 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
- 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.
Returns
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Remarks
COM Signature
From textmgr.idl:
HRESULT IVsHiddenRegion::SetState(
[in] DWORD dwState,
[in] DWORD dwUpdate
);