Share via


IVsMenuEditor.GetUIState(UInt32) Method

Definition

Returns the current UI state of the Menu Editor, giving the site a mechanism to know if the Menu Editor has any UI operations in progress.

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

Parameters

pstate
UInt32

[out, retval] The current UI state of the Menu Editor.

Returns

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

Remarks

C++

From vsshell.idl:

HRESULT IVsMenuEditor::GetUIState([out, retval] VSMEUISTATE *pState);

Applies to