This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Controls > ESRI ArcGIS Controls > Interfaces > IT > IToolbarMenu Interface > IToolbarMenu.Hook Property (ArcObjects .NET 10.4 SDK) |
The object that is passed as a hook to the OnCreate event of each item's command.
[Visual Basic .NET] Public ReadOnly Property Hook As Object
[C#] public object Hook {get;}
[C++]
HRESULT get_Hook(
IDispatch** ppHook
);
[C++]
Parameters ppHook [out, retval] ppHook is a parameter of type IDispatch*
The Hook is a shortcut to ICommandPoolEdit::Hook on the CommandPool.