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)
Syntax
'Declaration
Function GetUIState ( _
<OutAttribute> ByRef pstate As UInteger _
) As Integer
int GetUIState(
out uint pstate
)
int GetUIState(
[OutAttribute] unsigned int% pstate
)
abstract GetUIState :
pstate:uint32 byref -> int
function GetUIState(
pstate : uint
) : int
Parameters
pstate
Type: System.UInt32%[out, retval] The current UI state of the Menu Editor.
Return Value
Type: System.Int32
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);
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.