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

ISceneHookHelper.Scene Property (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Controls > ESRI ArcGIS Controls > Interfaces > IS > ISceneHookHelper Interface > ISceneHookHelper.Scene Property
ArcGIS Developer Help

ISceneHookHelper.Scene Property

Scene of hooked control or application.

[Visual Basic .NET]
Public ReadOnly Property Scene As IScene
public IScene Scene {get;}
HRESULT get_Scene(
  IScene** ppScene
ppScene [out, retval]

ppScene is a parameter of type IScene**

Product Availability

Available with ArcGIS Engine.


The IScene object of the hook passed to the ICommand::OnCreate event. The Scene is returned regardless of whether the hook is a SceneControl, ToolbarControl (with a 'buddy' SceneControl) or ArcScene.

Errors Returned

1059 800a0423: The supplied hook is not a valid object

See Also

ISceneHookHelper Interface