This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Controls > ESRI ArcGIS Controls > Interfaces > IT > IToolbarItem Interface > IToolbarItem.Menu Property (ArcObjects .NET 10.4 SDK) |
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
Returns the IToolbarMenu used by the item if the item represents a menu. If the item does not use a menu Nothing is returned.