This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > ArcMapUI > ESRI.ArcGIS.ArcMapUI > Interfaces > IC > IContentsView Interface > IContentsView.Activate Method (ArcObjects .NET 10.4 SDK) |
Activates the contents view.
[Visual Basic .NET] Public Sub Activate ( _ ByVal parentHWnd As Integer, _ ByVal Document As IMxDocument _ )
[C#] public void Activate ( int parentHWnd, IMxDocument Document );
You can also activate a contents view by setting IMxDocument::CurrentContentsView (in ArcMap) or ISxDocument::CurrentContentsView (in ArcScene or ArcGlobe).