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


ICommandHook.ActiveView Property (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Controls > ESRI ArcGIS Controls > Interfaces > IC > ICommandHook Interface > ICommandHook.ActiveView Property
ArcGIS Developer Help

ICommandHook.ActiveView Property

Active view of control or application.

[Visual Basic .NET]
Public ReadOnly Property ActiveView As IActiveView
[C#]
public IActiveView ActiveView {get;}
[C++]
HRESULT get_ActiveView(
  IActiveView** ppActiveView
);
[C++]
Parameters
ppActiveView [out, retval]

ppActiveView is a parameter of type IActiveView**

Product Availability

Available with ArcGIS Engine.

Description

The IActiveView object used by the custom control or application.

The HookHelper is often used in custom commands and the IHookHelper::ActiveView can return the IActiveView of the hook by using this property.

See Also

ICommandHook Interface