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 ( _
)
[C#]
public void Deactivate (
);
[C++]
HRESULT Deactivate(
void
);

Product Availability

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

Remarks

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