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


ICommandHook.ActiveView Property (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (Controls)  

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