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
'Usage
Dim instance As IVsMenuEditor 
Dim pstate As UInteger 
Dim returnValue As Integer 

returnValue = instance.GetUIState(pstate)
int GetUIState(
    out uint pstate
)
int GetUIState(
    [OutAttribute] unsigned int% pstate
)
function GetUIState(
    pstate : uint
) : int

Parameters

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

See Also

Reference

IVsMenuEditor Interface

IVsMenuEditor Members

Microsoft.VisualStudio.Shell.Interop Namespace