IVsMenuEditor.GetUIState 方法

返回菜单编辑器的当前用户界面状态,为站点结构知道菜单编辑器是否具有正在进行任何 UI 操作。

命名空间:  Microsoft.VisualStudio.Shell.Interop
程序集:  Microsoft.VisualStudio.Shell.Interop(在 Microsoft.VisualStudio.Shell.Interop.dll 中)

语法

声明
Function GetUIState ( _
    <OutAttribute> ByRef pstate As UInteger _
) As Integer
int GetUIState(
    out uint pstate
)

参数

返回值

类型:System.Int32
如果方法成功,则返回 S_OK。如果失败,它会返回一个错误代码。

备注

C++

从 vsshell.idl:

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

.NET Framework 安全性

请参见

参考

IVsMenuEditor 接口

Microsoft.VisualStudio.Shell.Interop 命名空间