Export (0) Print
Expand All

IVsMenuEditor.GetUIState Method

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.

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)

int GetUIState(
	out uint pstate
)

Parameters

pstate
Type: System.UInt32%

[out]

Return Value

Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.

C++

From vsshell.idl:

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

Community Additions

ADD
Show:
© 2014 Microsoft