|  | This document is archived and information here might be outdated. Recommended version. | 
| ArcObjects namespaces > Geoprocessing > ESRI.ArcGIS.Geoprocessing > Interfaces > IG > IGPUtilities2 Interface > IGPUtilities2.GetActiveView Method (ArcObjects .NET 10.4 SDK) | 
Get active view.
[Visual Basic .NET] Public Function GetActiveView ( _ ) As IActiveView
[C#] public IActiveView GetActiveView ( );
[C++]
HRESULT GetActiveView(
  IActiveView** ppActiveView
);
[C++]
Parameters ppActiveView [out, retval]
ppActiveView is a parameter of type IActiveView