Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

IVsMenuEditor.GetHeight Method

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.

Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop (in microsoft.visualstudio.shell.interop.dll)

int GetHeight (
	out int piHeight
int GetHeight (
	/** @attribute OutAttribute() */ /** @ref */ int piHeight
JScript does not support passing value-type arguments by reference.




Return Value

If the method succeeds, it returns S_OK. If it fails, it returns an error code.


From vsshell.idl:

HRESULT IVsMenuEditor::GetHeight(

   [out]INT *piHeight


Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

© 2014 Microsoft. All rights reserved.