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


IToolbarMenu.GetMenuDef Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Controls > ESRI ArcGIS Controls > Interfaces > IT > IToolbarMenu Interface > IToolbarMenu.GetMenuDef Method
ArcGIS Developer Help

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(
void
);

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