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

IActiveView.Deactivate Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IA > IActiveView Interface > IActiveView.Deactivate Method
ArcGIS Developer Help

IActiveView.Deactivate Method

Another view takes over the associated window.

[Visual Basic .NET]
Public Sub Deactivate ( _
public void Deactivate (
HRESULT Deactivate(

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.


Called to deactivate the current active view.  For example, view commands deactivate (IActiveView::Deactivate) the current view (IMxDocument::ActiveView) before calling Activate on their own associated view. 

See Also

IActiveView Interface