This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Controls > ESRI ArcGIS Controls > Interfaces > IC > ICommandHook Interface > ICommandHook.ActiveView Property (ArcObjects .NET 10.4 SDK) |
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
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.