ArcObjects Library Reference (GeoDatabase)  

IDataElement.CatalogPath Property

The string used to retrieve the element.

[Visual Basic .NET]
Public Property CatalogPath As String
[C#]
public string CatalogPath {get; set;}
[C++]
HRESULT get_CatalogPath(
  BSTR* Path
);
[C++]
HRESULT put_CatalogPath(
  BSTR Path
);
[C++]

Parameters

Path [out, retval]   Path is a parameter of type BSTR Path [in]   Path is a parameter of type BSTR

Product Availability

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

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

See Also

IDataElement Interface

.NET Related Topics

Using the schema creator |