This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > Controls > ESRI ArcGIS Controls > Interfaces > IG > IGlobeHookHelper Interface > IGlobeHookHelper.Globe Property (ArcObjects .NET 10.5 SDK) |
Globe of hooked control or application.
[Visual Basic .NET] Public ReadOnly Property Globe As IGlobe
[C#] public IGlobe Globe {get;}
[C++]
HRESULT get_Globe(
IGlobe** ppGlobe
);
[C++]
Parameters ppGlobe [out, retval]
ppGlobe is a parameter of type IGlobe
The IGlobe object of the hook passed to the ICommand::OnCreate event. The Globe is returned regardless of whether the hook is a GlobeControl, ToolbarControl (with a 'buddy' GlobeControl) or ArcGlobe.
1060 800A0424: The supplied hook is not valid.
This property can return Nothing if the GlobeControl has not been initialized to share a GlobeDisplay with another GlobeControl.