This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > Controls > ESRI ArcGIS Controls > Interfaces > IT > IToolbarMenu Interface > IToolbarMenu.GetMenuDef Method (ArcObjects .NET 10.5 SDK) |
Returns the menu definition, this method is obsolete.
[Visual Basic .NET] Public Function GetMenuDef ( _ ) As IMenuDef
[C#] public IMenuDef GetMenuDef ( );
[C++]
HRESULT GetMenuDef(
IMenuDef** ppMenuDef
);
[C++]
Parameters ppMenuDef [out, retval]
ppMenuDef is a parameter of type IMenuDef
Returns the IMenuDef object from the ToolbarMenu. The ToolbarMenu will construct an object implementing IMenuDef that describes the current layout of the menu. Note that this a different object from that used to initially build the menu.