Solved! Go to Solution.
IMxDocument pMxdoc = m_application.Document; IMap pMap = pMxdoc.FocusMap; IStandaloneTableCollection pStandAloneTableCollection = pMap; IStandaloneTable pStandalonetable = null; for (int i = 0; i <= pStandAloneTableCollection.StandaloneTableCount - 1; i++) { pStandalonetable = pStandAloneTableCollection.StandaloneTable(i); IDataset pDataset = (IDataset)pStandaloneTable; Messagebox.show(pStandalonetable.Name & ": " & pDataset.Category); }
IMxDocument pMxdoc = m_application.Document; IMap pMap = pMxdoc.FocusMap; IStandaloneTableCollection pStandAloneTableCollection = pMap; IStandaloneTable pStandalonetable = null; for (int i = 0; i <= pStandAloneTableCollection.StandaloneTableCount - 1; i++) { pStandalonetable = pStandAloneTableCollection.StandaloneTable(i); IDataset pDataset = (IDataset)pStandaloneTable; Messagebox.show(pStandalonetable.Name & ": " & pDataset.Category); }