This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > Controls > ESRI ArcGIS Controls > Classes > C > ControlsAddDataCommand CoClass (ArcObjects .NET 10.5 SDK) |
Browses data sets and adds data.
The CLSID of this command is: {B100C679-76C5-410D-BC8D-AE9E7882A80F}.
This command works with the ToolbarControl, PageLayoutControl, MapControl, GlobeControl, ArcMap, and ArcGlobe.
Interfaces | Description |
---|---|
ICommand (esriSystemUI) | Provides access to members that define a COM command. |
The ControlsAddDataCommand can be used to add the following types of data to an ArcGIS Engine application:
Data types not listed above may be loaded into the ArcGIS Engine Controls programmatically, by loading layer files (*.lyr), or by loading pre-authored map documents (*.mxd) using the ControlsOpenDocCommand or the ControlsGlobeOpenDocCommand.
Tables can be selected and added using the Add Data dialog but they will not appear in any of the supported controls. However, they can be accessed programmatically through the IStandaloneTableCollection interface.