IVsMenuEditor::SelectionChangeFocus Method (IVsMenuItem^)
Visual Studio 2015
Same as SelectionChange, except this method also sets focus to the selected item.
Assembly: Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
Parameters
- pIMI
-
Type:
Microsoft.VisualStudio.Shell.Interop::IVsMenuItem^
[in] The menu item.
Return Value
Type: System::Int32If the method succeeds, it returns S_OK. If it fails, it returns an error code.
C++
From vsshell.idl:
HRESULT IVsMenuEditor::SelectionChangeFocus([in]IVsMenuItem *pIMI);
Show: