IVsMenuEditor::GetHeight Method (Int32)
Visual Studio 2015
Can be used by the site to change the size of the host when the user wants to remove the menu. This allows the site an easy way to determine how much to decrease the size of the host.
Assembly: Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
Parameters
- piHeight
-
Type:
System::Int32
[out] The height of the menu.
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::GetHeight(
[out]INT *piHeight
);
Show: