This document is archived and information here might be outdated.  Recommended version.


IToolbarMenu.GetMenuDef Method (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (Controls)  

IToolbarMenu.GetMenuDef Method

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

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

ArcGIS Network Analyst extension Engine application (Code Files: frmMain)