Provides access to members that work with Name objects.
When To Use
Use IName to open a workspace object.
Members
Name | Description | |
---|---|---|
NameString | The name string of the object. | |
Open | Opens the object referred to by this name. |
IName.NameString Property
The name string of the object.
Public Property NameString As String
public string NameString {get; set;}
Remarks
The NameStringproperty is reserved for future use. When implemented, it will return a string representation of the locational component of the name object that may be persisted by applications.
IName.Open Method
Opens the object referred to by this name.
Public Function Open ( _
) As Object
public object Open (
);
Remarks
The Open method lets you instantiate the actual object given the name object.
Note: Opening a feature class that participates in a topology or geometric network will also open all other feature classes participating in the topology or geometric network in memory.
``
Classes that implement IName
Classes | Description |
---|---|
CadDrawingName (esriDataSourcesFile) | Cad Drawing Name object |
FeatureDatasetName (esriGeoDatabase) | Esri Feature Dataset Name object. |
FeatureQueryName (esriGeoDatabase) | Esri Feature Query Name object. |
FgdbTableName (esriDataSourcesGDB) | File GeoDatabase Table Name object. |
FileName | File Name Object. |
FunctionRasterDatasetName (esriDataSourcesRaster) | A class for a function raster dataset name. |
GeometricNetworkName (esriGeoDatabase) | Esri Geometric Network Name object. |
MemoryRelationshipClassName (esriGeoDatabase) | A name class that represents as in memory relationship class. |
MosaicDatasetName (esriGeoDatabase) | The mosaic dataset name object. |
NetworkDatasetName (esriGeoDatabase) | A container for describing this network dataset's name properties. |
ObjectClassName (esriGeoDatabase) | Esri Object Class Name object. |
QueryTableName (esriGeoDatabase) | Esri Query table Name object. |
RasterBandName (esriGeoDatabase) | A container for name information about a raster band. |
RasterDatasetName (esriGeoDatabase) | A container for name information about a raster dataset. |
RasterTypeName (esriDataSourcesRaster) | The raster type name object. |
RelationshipClassName (esriGeoDatabase) | Esri Relationship Class Name object. |
RelQueryTableName (esriGeoDatabase) | A name class that represents a RelQueryTable. |
ShortcutName | GxObject that represents the shortcut Name Object. |
TableName (esriGeoDatabase) | Esri Table Name object. |
TableQueryName (esriGeoDatabase) | Esri Table Query Name object. |
TinName (esriGeoDatabase) | The Esri TinName component. |
TopologyName (esriGeoDatabase) | Esri Topology Name object. |
UnknownDatasetName (esriGeoDatabase) | Esri Unknown Dataset Name object. |
UtilityNetworkName (esriGeoDatabase) | A container for describing this utility network's name properties. |
WorkspaceName (esriGeoDatabase) | Esri Workspace Name object. |
XYEventSourceName (esriGeoDatabase) | A name object that defines the objects needed to create an XY event layer. |
Remarks
A Nameobject is a persistable software object that identifies and locates a geodatabase object such as a dataset or a workspace or a map object such as a layer.
A Nameobject supports an Openmethod that allows the client to get an instance of the actual object (for example, the dataset or workspace) given the name object. A name object thus acts as a moniker that supports binding to the named object.
The geodatabase supports methods on workspaces that hand out name objects that can be used by browsing clients to display the names of datasets in the workspace and to instantiate any specific dataset.
Nameobjects may also carry properties that describe the object being named. A browsing client to display additional information about the object being named can use these properties. A Nameobject may also support methods to access metadata for or methods to change permissions on the actual object. In these cases, a name object can be used as a lightweight surrogate of the actual object until such time as further properties of the object are needed or additional methods on the object need to be called.
Nameobjects are cocreatable and can also be used to specify datasets that are yet to be created, for example the output dataset to be created by a geoprocessing operation. There are several kinds of name objects, for example workspace, table, feature class, feature dataset, raster and relationship class name objects.
Nameobjects may be persisted (serialized) using the IPersistStreaminterface. Nameobjects are the mechanism used to save references to the datasets corresponding to the layers in a map, when the map is saved as a map document.