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


IToolbarPalette.Hook Property (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Controls > ESRI ArcGIS Controls > Interfaces > IT > IToolbarPalette Interface > IToolbarPalette.Hook Property
ArcGIS Developer Help

IToolbarPalette.Hook Property

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(
  System.Object* pVal
);
[C++]
Parameters
pVal [out, retval]

pVal is a parameter of type IDispatch*

Product Availability

Available with ArcGIS Engine.

Description

The Hook is a shortcut to ICommandPoolEdit::Hook on the CommandPool.

See Also

IToolbarPalette Interface