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


IGlobeHookHelper.Globe Property (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (Controls)  

IGlobeHookHelper.Globe Property

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

Product Availability

Available with ArcGIS Engine.

Description

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.

Errors Returned

1060 800A0424: The supplied hook is not valid. 

Remarks

This property can return Nothing if the GlobeControl has not been initialized to share a GlobeDisplay with another GlobeControl.

See Also

IGlobeHookHelper Interface

.NET Samples

Updating the purge rule on a real-time temporal layer (Code Files: TAPurgeRuleCmd)