IDatasetName Interface

Provides access to members that supply dataset name information.

Members

Name Description
Read/write property Category The category of the dataset.
Read/write property Name The name of the dataset.
Read-only property SubsetNames Subset names contained within this dataset name.
Read-only property Type The type of the dataset.
Read/write property WorkspaceName The WorkspaceName of the DatasetName.

IDatasetName.Category Property

The category of the dataset.

Public Property Category As String
public string Category {get; set;}

IDatasetName.Name Property

The name of the dataset.

Public Property Name As String
public string Name {get; set;}

IDatasetName.SubsetNames Property

Subset names contained within this dataset name.

Public ReadOnly Property SubsetNames As IEnumDatasetName
public IEnumDatasetName SubsetNames {get;}

IDatasetName.Type Property

The type of the dataset.

Public ReadOnly Property Type As esriDatasetType
public esriDatasetType Type {get;}

IDatasetName.WorkspaceName Property

The WorkspaceName of the DatasetName.

Public Property WorkspaceName As IWorkspaceName
public IWorkspaceName WorkspaceName {get; set;}

Classes that implement IDatasetName

Classes Description
CadDrawingName (esriDataSourcesFile) Cad Drawing Name object
FeatureDatasetName Esri Feature Dataset Name object.
FeatureQueryName Esri Feature Query Name object.
FgdbTableName (esriDataSourcesGDB) File GeoDatabase Table Name object.
FunctionRasterDatasetName (esriDataSourcesRaster) A class for a function raster dataset name.
GeometricNetworkName Esri Geometric Network Name object.
MemoryRelationshipClassName A name class that represents as in memory relationship class.
MosaicDatasetName The mosaic dataset name object.
NetworkDatasetName A container for describing this network dataset's name properties.
ObjectClassName Esri Object Class Name object.
QueryTableName Esri Query table Name object.
RasterBandName A container for name information about a raster band.
RasterDatasetName A container for name information about a raster dataset.
RelationshipClassName Esri Relationship Class Name object.
RelQueryTableName A name class that represents a RelQueryTable.
TableName Esri Table Name object.
TableQueryName Esri Table Query Name object.
TinName The Esri TinName component.
TopologyName Esri Topology Name object.
UnknownDatasetName Esri Unknown Dataset Name object.
UtilityNetworkName A container for describing this utility network's name properties.
XYEventSourceName A name object that defines the objects needed to create an XY event layer.

Remarks

DatasetName is an abstract class that covers Name objects for datasets in a workspace.

DatasetName objects identify and locate datasets within a workspace. In addition they may carry additional properties that describe the named dataset. DatasetName objects supports methods to access metadata for the named object (via the optional IMetadata interface) and to manage privileges for the dataset (via the ISQLPrivilege interface).

The DatasetName object for any existing dataset can be obtained by reading the IDataset::FullName property. DatasetName objects may also be created to specify new datasets that are to be created by some operation.

The IDatasetName interface provides access to the basic properties of a dataset name object.

The Name property returns the identifier for the dataset within the context of its workspace. Note that the value of the name property of the dataset name object (IDatasetName::Name) is the same as the value of the name property for the dataset (IDataset::Name). The WorkspaceName property returns the workspace name object for the workspace containing the dataset being specified by this dataset name object.

You can use the IDataset::FullName property to get a dataset name object from the actual dataset object.

A dataset name can also refer to a dataset that does not yet exist. This is useful when creating new data, for example with the feature data converters.

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.