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