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


IGMxDocument.ContentsViewCount Property (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (ArcGlobe)  

IGMxDocument.ContentsViewCount Property

The number of contents views in the document.

[Visual Basic .NET]
Public ReadOnly Property ContentsViewCount As Integer
[C#]
public int ContentsViewCount {get;}

Product Availability

Available with ArcGIS Desktop. Requires 3D Analyst Extension.

Remarks

A contents view is a tab in the table of contents. ArcGlobe has three contents views: Display (TOCGMxDisplayView), Source (TOCGMxCatalogView), and Type (TOCGMxTypeView). Only one contents view can be active at a time. This property returns the number of contents views registered in the ESRI Contents Views component category. 

See Also

IGMxDocument Interface