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


IContentsView.Activate Method (ArcObjects .NET 10.7 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > ArcMapUI > ESRI.ArcGIS.ArcMapUI > Interfaces > IC > IContentsView Interface > IContentsView.Activate Method
ArcGIS Developer Help

IContentsView.Activate Method

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
);

Product Availability

Available with ArcGIS Desktop.

Remarks

You can also activate a contents view by setting IMxDocument::CurrentContentsView (in ArcMap) or ISxDocument::CurrentContentsView (in ArcScene or ArcGlobe).

See Also

IContentsView Interface