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

IMxDocument.ContentsView Property (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > ArcMapUI > ESRI.ArcGIS.ArcMapUI > Interfaces > IM > IMxDocument Interface > IMxDocument.ContentsView Property
ArcGIS Developer Help

IMxDocument.ContentsView Property

The contents view at the specified index.

[Visual Basic .NET]
Public Function get_ContentsView ( _
    ByVal index As Integer _
) As IContentsView
public IContentsView get_ContentsView (
    int index

Product Availability

Available with ArcGIS Desktop.


A contents view is essentially a tab in the table of contents.  ArcMap ships with two contents views: Display (TOCDisplayView) and Source (TOCCatalogView).  Create custom contents views by implementing the IContentsView interface.  Only one contents view can be active at a time.  This property returns a reference to the contents view specified by the index number.

See Also

IMxDocument Interface