ArcGIS Pro 3.4 API Reference Guide
ArcGIS.Core.CIM Namespace / esriDatasetType Enumeration
Example Example Version

esriDatasetType Enumeration
Dataset type constants.
Syntax
Members
MemberDescription
esriDTAny Any Dataset.
esriDTBIMFile BIM File.
esriDTCadastralFabric Cadastral Fabric.
esriDTCadDrawing CadDrawing Dataset.
esriDTContainer Any Container Dataset.
esriDTDiagramDataset Diagram Dataset.
esriDTDiagramFolder Diagram Folder.
esriDTFeatureClass Feature Class.
esriDTFeatureDataset Feature Dataset.
esriDTGeo Any Geo Dataset.
esriDTGeometricNetwork Geometric Network.
esriDTInvestigation Knowledge Graph Investigation.
esriDTKnowledgeGraph Knowledge Graph.
esriDTLasDataset Las Dataset.
esriDTLayer Layer.
esriDTLayout Layout.
esriDTLinkChart Link chart.
esriDTLocationReferencingDataset Location referencing dataset.
esriDTLocator Address Locator.
esriDTMap Map.
esriDTMosaicDataset Mosaic Dataset.
esriDTNetworkDataset Network Dataset.
esriDTNetworkDiagram Network Diagram.
esriDTParcelDataset Parcel Dataset.
esriDTPlanarGraph Planar Graph.
esriDTPresentation Presentation.
esriDTRasterBand Raster Band.
esriDTRasterCatalog Raster Catalog.
esriDTRasterDataset Raster Dataset.
esriDTRelationshipClass Relationship Class.
esriDTReport Report.
esriDTRepresentationClass Feature Class Representation.
esriDTSchematicDataset Schematic Dataset.
esriDTStandaloneTable Standalone Table.
esriDTStandaloneVideo Standalone Video.
esriDTStyle Style.
esriDTTable Table Dataset.
esriDTTerrain Terrain dataset.
esriDTText Text Dataset.
esriDTTimeline Timeline.
esriDTTin Tin Dataset.
esriDTTool Tool.
esriDTToolbox Toolbox.
esriDTTopology Topology.
esriDTTraceNetwork Trace Network.
esriDTUtilityNetwork Utility Network.
Example
Add a WFS Service
CIMStandardDataConnection cIMStandardDataConnection = new CIMStandardDataConnection()
{
  WorkspaceConnectionString = @"SWAPXY=TRUE;SWAPXYFILTER=FALSE;URL=http://sampleserver6.arcgisonline.com/arcgis/services/SampleWorldCities/MapServer/WFSServer;VERSION=2.0.0",
  WorkspaceFactory = WorkspaceFactory.WFS,
  Dataset = "Continent",
  DatasetType = esriDatasetType.esriDTFeatureClass
};

// Add a new layer to the map
var layerPamsDC = new LayerCreationParams(cIMStandardDataConnection);
await QueuedTask.Run(() =>
{
  Layer layer = LayerFactory.Instance.CreateLayer<FeatureLayer>(layerPamsDC, MapView.Active.Map);
});
Inheritance Hierarchy

System.Object
   System.ValueType
      System.Enum
         ArcGIS.Core.CIM.esriDatasetType

Requirements

Target Platforms: Windows 11, Windows 10

ArcGIS Pro version: 3 or higher.
See Also