IVsMenuEditor.GetHeight(Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
public:
int GetHeight([Runtime::InteropServices::Out] int % piHeight);
int GetHeight([Runtime::InteropServices::Out] int & piHeight);
public int GetHeight (out int piHeight);
abstract member GetHeight : int -> int
Public Function GetHeight (ByRef piHeight As Integer) As Integer
Parameters
- piHeight
- Int32
[out] The height of the menu.
Returns
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Remarks
C++
From vsshell.idl:
HRESULT IVsMenuEditor::GetHeight(
[out]INT *piHeight
);