This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > ArcMapUI > ESRI.ArcGIS.ArcMapUI > Interfaces > IM > IMxDocument Interface > IMxDocument.ContentsView Property (ArcObjects .NET 10.5 SDK) |
The contents view at the specified index.
[Visual Basic .NET] Public Function get_ContentsView ( _ ByVal index As Integer _ ) As IContentsView
[C#] public IContentsView get_ContentsView ( int index );
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.