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.
MADtedLayer (esriDefenseSolutions) A layer used to control the display of MA DTED Catalogs.
MARasterLayer (esriDefenseSolutions) A layer used to control the display of MA RPF Catalogs.
MemoryRelationshipClass A relationship class object that is stored in memory.
MosaicLayer (esriCarto) The layer implementation of the Mosaic Dataset.
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.
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

.NET Snippets

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

.NET Samples

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

.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 |