This document is archived and information here might be outdated.  Recommended version.


IDataset Interface (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (GeoDatabase)  

IDataset Interface

Provides access to members that supply dataset information.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Description

The IDataset interface is the main interface used to manage a dataset.

Members

Description
Read/write property BrowseName The browse name of the dataset.
Method CanCopy True if this dataset can be copied.
Method CanDelete True if this dataset can be deleted.
Method CanRename True if this dataset can be renamed.
Read-only property Category The category of the dataset.
Method Copy Copies this dataset to a new dataset with the specified name.
Method Delete Deletes this dataset.
Read-only property FullName The associated name object.
Read-only property Name The name of the Dataset.
Read-only property PropertySet The set of properties for the dataset.
Method Rename Renames this Dataset.
Read-only property Subsets Datasets contained within this dataset.
Read-only property Type The type of the Dataset.
Read-only property Workspace The workspace containing this dataset.

CoClasses that implement IDataset

CoClasses and Classes Description
AMSWorkspace (esriTrackingAnalyst) Controls the Tracking Server workspace COM object's properties.
AttributedRelationshipClass Esri Attributed Relationship Class object.
CadAnnotationLayer (esriCarto) An Esri Cad annotation layer.
CadastralFabric (esriGeoDatabaseExtensions) A container for querying information about a cadastral fabric.
CadastralFabricSubLayer (esriCarto) Cadastral Fabric Feature Layer Object.
CadFeatureLayer (esriCarto) Esri CAD Feature Layer class.
CoverageAnnotationLayer (esriCarto) An Esri coverage annotation layer.
DimensionLayer (esriCarto) A collection of properties for a dimension layer.
FDOGraphicsLayer (esriCarto) A collection of properties for an annotation layer (feature data object graphics layer).
FeatureClass Esri Feature Class object.
FeatureDataset Esri Feature Dataset object.
FeatureLayer (esriCarto) A collection of features and their visual representation.
FunctionRasterDataset (esriDataSourcesRaster) A class for a function raster dataset.
GdbRasterCatalogLayer (esriCarto) Geodabase RasterCatalog source and display options.
GeometricNetwork Esri Geometric Network object.
ImageServerLayer (esriCarto) Image server layer source and display options.
IMSSubFeatureLayer (esriCarto) A collection of IMS features as a sublayer of an IMSMapLayer.
LasDataset (esriGeoDatabaseExtensions) Esri LasDataset component.
MemoryRelationshipClass A relationship class object that is stored in memory.
MosaicLayer (esriCarto) The layer implementation of the Mosaic Dataset.
NALayer (esriNetworkAnalyst) The layer for defining, solving, and viewing network analysis results.
NetCDFWorkspace (esriDataSourcesNetCDF) The NetCDF workspace object.
NetworkDataset A container for querying information about a network dataset.
NetworkLayer (esriCarto) Esri Network Layer CoClass.
ObjectClass Esri Object Class object.
RasterBand (esriDataSourcesRaster) A representation of a single band of a raster dataset on disk.
RasterCatalog A collection of raster datasets in a Geodatabase table.
RasterDataset (esriDataSourcesRaster) A representation of a raster dataset on disk.
RasterLayer (esriCarto) Raster layer source and display options.
RasterWorkspace (esriDataSourcesRaster) The raster workspace object.
RelationshipClass Esri Relationship Class object.
RelQueryTable An object that joins two datasets based on common data values.
RepresentationClass A Feature Class Representation object.
RouteEventSource (esriLocation) Route event source object.
SchematicDataset (esriSchematic) Provides access to members that manage the schematic dataset.
SchematicDiagram (esriSchematic) A schematic diagram object.
SchematicDiagramClass (esriSchematic) Schematic diagram class object.
SchematicElementClass (esriSchematic) Schematic element class object.
SchematicFolder (esriSchematic) A schematic folder object.
SchematicInMemoryFeatureClass (esriSchematic) Schematic in memory feature class object.
Sde3Workspace (esriDataSourcesGDB) Esri SDE (3.x) Feature Database.
Sde4Workspace (esriDataSourcesGDB) Esri SDE (4.x) Feature Database.
SqlWorkspace (esriDataSourcesGDB) Sql workspace
StandaloneTable (esriCarto) A standalone table.
StreetNetwork A container for describing a street network.
Table Esri Table object.
TemporalFeatureClass (esriTrackingAnalyst) Controls settings for the temporal feature class.
TemporalFeatureLayer (esriTrackingAnalyst) Defines the coclass IDL parameters and attributes of the TemporalFeatureLayer COM object.
TemporalRecordSet (esriTrackingAnalyst) Defines the COM coclass for the TemporalRecordSet COM object.
Terrain (esriGeoDatabaseExtensions) The Esri Terrain component.
Tin The Esri TIN component.
Topology Esri Topology object.
UtilityNetwork A container for describing a utility network.
VersionedWorkspace VersionedWorkspace Object.
WCSLayer (esriCarto) WCS layer source and display options.
WMTSLayer (esriCarto) Provides programmatic access to WMTS layer.
Workspace Workspace Object.
XYEventSource XY event source object.

Remarks

Not all of the methods and properties of IDataset are applicable to every type of dataset. For example, the Copy method should only be used on datasets from file-based data sources, and very few datasets will return values from the PropertySet property (coverages being a notable exception).

See Also

IWorkspace Interface | IGPDataType.FullName Property | IName Interface

.NET Snippets

Open Network Dataset | Get Spatial Reference from Dataset | Get Path for a Layer

.NET Samples

Editing using a custom form (Code Files: EditorForm) | ArcGIS Network Analyst extension Engine application (Code Files: frmLoadLocations) | Load network layer from active analysis to the table of contents (Code Files: LoadNetworkLayerFromActiveAnalysisToTOC) | Customizing schematic feature removal events (Code Files: FeatureRemovalMgmt) | Utility wizard for basic schematic datasets configuration (Code Files: GenerateSchematicTemplate) | Implementing a schematic digitizing tool (Code Files: DockableDigit) | Implementing extended criteria for some predefined schematic rules (Code Files: PlantOnCableDiameter PlantWithoutEquipment) | Implementing associations between GIS features and schematic features (Code Files: ElementFeatureAssociation) | Subset network evaluators (Code Files: AddSubsetAttributesCommand RemoveSubsetAttributesCommand SubsetHelperUI) | StreetMap routing (Code Files: RoutingForm) | Timestamper class extension (Code Files: TimestampClassExtension) | Create an NDVI custom raster function (Code Files: NDVICustomFunctionUIForm) | Route layer (Code Files: Program) | Create a custom raster function (Code Files: WatermarkFunctionUIForm)

.NET Related Topics

Assigning domains to fields | Cartographic representations | Converting labels to geodatabase annotation for a single layer | Converting labels to geodatabase annotation for an entire map | Copying or loading data while preserving GlobalID values | Creating an address locator | Creating class extensions | Creating workspace extensions | Data processing in spatial analysis operations | GeoData services | Geodatabase | GeoDatabaseUI | Getting a list of schema differences between replicas | How to access JPEG EXIF tags | How to create an edit session | How to export a dataset to XML | How to import a dataset from XML | How to load a raster dataset to the raster field in a feature class | How to merge conflicting geometries during a reconcile | How to open a network dataset | How to rematch a geocoded feature class | Location | Querying geodatabase tables | Using replica creation events to extend the replica creation process