IStandaloneTableCollection pTableCollection = pMap as IStandaloneTableCollection; int i; for (i = 0; i < pTableCollection.StandaloneTableCount; i++) { cmbTOC.Items.Add(pTableCollection.get_StandaloneTable(i).Name); }
IStandaloneTableCollection pTableCollection = pDoc.FocusMap as IStandaloneTableCollection; int i; for (i = 0; i < pTableCollection.StandaloneTableCount; i++) { cmbTOC.Items.Add(pTableCollection.get_StandaloneTable(i).Name); }
Signed in members can post, follow updates, and more. New here? Register a free account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.