IVsMenuEditor.GetHeight(Int32) Method

Definition

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

);

Applies to