Interface IDataElement
- Namespace
- ESRI.ArcGIS.Geodatabase
- Assembly
- ESRI.Server.Geodatabase.dll
Provides access to the Basic Data Element.
[Guid("E2C87DF0-33D9-4A47-9B67-FA54B2FD7966")]
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
public interface IDataElement
Properties
CatalogPath
The string used to retrieve the element.
string CatalogPath { get; set; }
Property Value
Remarks
The CatalogPath of a data element contains the path to the dataset. If retrieved from GxObject, the data element's catalog path will correspond to the path displayed by ArcCatalog when the dataset is selected in the view pane. If retrieved from the workspace, the catalog path will be built by following this pattern:
/V=[version]/DatasetKeyword=datasetName/ChildDatasetKeyword=datasetName
The version can be empty if the source is a local geodatabase. The following table shows the dataset types and their respective keywords:
| Dataset Type | Keyword |
|---|---|
| Feature dataset | FD |
| Feature class | FC |
| Object class | OC |
| Relationship class | RC |
| Geometric network | GN |
| Topology | TOPO |
| Raster band | RB |
| Raster dataset | RD |
| Raster catalog | RCAT |
| Toolbox | TB |
The following are sample catalog paths:
/FD=USA/FC=Capitals
/V=SDE.DEFAULT/FD=Landbase/FC=Parcels
Children
The list of sub-elements.
IArray Children { get; set; }
Property Value
ChildrenExpanded
Indicates if the children have been expanded.
bool ChildrenExpanded { get; set; }
Property Value
FullPropsRetrieved
Indicates if full properties have been retrieved.
bool FullPropsRetrieved { get; set; }
Property Value
MetadataRetrieved
Indicates if the metadata has been retrieved.
bool MetadataRetrieved { get; set; }
Property Value
Name
The user assigned name for the element.
string Name { get; set; }
Property Value
Type
The type of the element.
string Type { get; set; }
Property Value
Methods
GetBaseName()
File base name.
string GetBaseName()
Returns
GetExtension()
File extension.
string GetExtension()
Returns
GetFile()
File name.
string GetFile()
Returns
GetPath()
File path.
string GetPath()