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)

Function GetUIState ( _
	<OutAttribute> ByRef pstate As UInteger _
) As Integer
Dim instance As IVsMenuEditor
Dim pstate As UInteger
Dim returnValue As Integer

returnValue = instance.GetUIState(pstate)
int GetUIState (
	/** @attribute OutAttribute() */ /** @ref */ UInt32 pstate
JScript does not support passing value-type arguments by reference.




Return Value

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


From vsshell.idl:

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

Community Additions

© 2014 Microsoft