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

In This Topic
    esriDatasetType Enumeration
    In This Topic
    Dataset type constants.
    Syntax
    Members
    MemberDescription
    esriDTAny Any Dataset.
    esriDTBIMFile Report.
    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.
    esriDTLocator Address Locator.
    esriDTMap Map.
    esriDTMosaicDataset Mosaic Dataset.
    esriDTNetworkDataset Network Dataset.
    esriDTNetworkDiagram Network Diagram.
    esriDTParcelDataset Parcel Dataset.
    esriDTPlanarGraph Planar Graph.
    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.
    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, Windows 8.1

    See Also