打开table of Content内容

 //显示table of Content内容
        private void OpenContenWindow()//over视图
        {
            IMxDocument mxDocument = m_application.Document as IMxDocument;
            int num = mxDocument.ContentsViewCount;
            for (int i = 0; i < num; i++)
            {
                ESRI.ArcGIS.ArcMapUI.IContentsView contentsView = mxDocument.get_ContentsView(i);
                MessageBox.Show(i.ToString() + ":" + contentsView.Name);
            }

            //MessageBox.Show(  .ToString());
        }

原文地址:https://www.cnblogs.com/gisoracle/p/2303166.html