Provides access to members that control the data source properties of a layer. Note: the IDataLayer interface has been superseded byIDataLayer2. Please consider using the more recent version.
Product Availability
Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.
Members
| Description | ||
|---|---|---|
![]()  | 
Connect | Connects the layer to its data source. An optional name object can be specified to aid in repairing a lost connection. | 
![]()  | 
DataSourceName | Name of the data object for the layer. | 
![]()  | 
DataSourceSupported | Indicates if the specified data object name is supported by the layer. | 
![]()  | 
RelativeBase | Base path used when storing relative path names. | 
CoClasses that implement IDataLayer
| CoClasses and Classes | Description | 
|---|---|
| BasemapSubLayer | Wrapper for layers in the basemap. | 
| CadAnnotationLayer | An ESRI Cad annotation layer. | 
| CadastralFabricLayer | Cadastral Fabric Layer Object. | 
| CadastralFabricSubLayer | Cadastral Fabric Feature Layer Object. | 
| CadFeatureLayer | ESRI CAD Feature Layer class. | 
| CadLayer | ESRI CAD Layer class. | 
| CoverageAnnotationLayer | An ESRI coverage annotation layer. | 
| DimensionLayer | A collection of properties for a dimension layer. | 
| FDOGraphicsLayer | A collection of properties for an annotation layer (feature data object graphics layer). | 
| FeatureLayer | A collection of features and their visual representation. | 
| GdbRasterCatalogLayer | Geodabase RasterCatalog source and display options. | 
| GeoVideoLayer (esriGlobeCore) | The georeferenced video layer. | 
| GlobeLayer (esriGlobeCore) | The cache-only globe layer. | 
| GlobeServerLayer (esriGlobeCore) | Provides programmatic access to a globe server layer. | 
| ImageServerLayer | Image server layer source and display options. | 
| IMSMapLayer | A container for the display and manipulation of IMS layers. | 
| IMSSubFeatureLayer | A collection of IMS features as a sublayer of an IMSMapLayer. | 
| KmlLayer (esriGlobeCore) | ESRI KML Layer class. | 
| MADtedLayer (esriDefenseSolutions) | A layer used to control the display of MA DTED Catalogs. | 
| MapServerLayer | Provides programmatic access to a map server layer. | 
| MARasterLayer (esriDefenseSolutions) | A layer used to control the display of MA RPF Catalogs. | 
| MosaicLayer | The layer implementation of the Mosaic Dataset. | 
| NALayer (esriNetworkAnalyst) | The layer for defining, solving, and viewing network analysis results. | 
| NetworkLayer | ESRI Network Layer CoClass. | 
| RasterCatalogLayer | Raster catalog source and display options. | 
| RasterLayer | Raster layer source and display options. | 
| RepresentationRenderer | A renderer that draws features using representation information stored in the layers data source. | 
| SchematicLayer (esriSchematic) | A Schematic layer object. | 
| StandaloneTable | A standalone table. | 
| TemporalFeatureLayer (esriTrackingAnalyst) | Defines the coclass IDL parameters and attributes of the TemporalFeatureLayer COM object. | 
| TerrainLayer | The Terrain Layer class. | 
| TinLayer | The TIN Layer class. | 
| TopologyLayer | A collection of properties for a topology layer. | 
| WCSLayer | WCS layer source and display options. | 
| WMSMapLayer | A container for the display and manipulation of WMS layers. | 
Remarks
This
interface provides access to information about the data source of
the layer including: the data source name, the base path used in
relative pathnames, and whether the layer supports the data source.
There is also a method to connect to the data source if the
connection has been lost.


