ArcObjects Library Reference (Controls)  

IToolbarItem.Menu Property

If the item is a menu, this property is a ToolbarMenu object.

[Visual Basic .NET]
Public ReadOnly Property Menu As IToolbarMenu
[C#]
public IToolbarMenu Menu {get;}
[C++]
HRESULT get_Menu(
  IToolbarMenu** ppToolbarMenu
);
[C++]

Parameters

ppToolbarMenu [out, retval]

  ppToolbarMenu is a parameter of type IToolbarMenu

Product Availability

Available with ArcGIS Engine.

Description

Returns the IToolbarMenu used by the item if the item represents a menu. If the item does not use a menu Nothing is returned.

See Also

IToolbarItem Interface