Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
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
)
abstract GetUIState :
pstate:uint32 byref -> int
function GetUIState(
pstate : uint
) : int
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.
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.