ArcObjects Library Reference (Controls)  

IToolbarMenu.GetMenuDef Method

Returns the menu definition, this method is obsolete.

ERROR: Syntax information about IToolbarMenu.GetMenuDef may not be in D:\ArcGIS\DotNet\ESRI.ArcGIS.Controls.dll

[C++]
HRESULT GetMenuDef(
  IMenuDef** ppMenuDef
);
[C++]

Parameters

ppMenuDef [out, retval]

  ppMenuDef is a parameter of type IMenuDef

Product Availability

Available with ArcGIS Engine.

Description

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.

See Also

IToolbarMenu Interface

.NET Samples

Network Analyst Engine application (Code Files: frmMain)