VB.NET against ArcGIS 10.1 I have a function which searches a geodb for a feature class name. If found I would like to display where it was found. Currently I only return the FeatureClass object like so:
Dim fcTest As IFeatureClass = FindFeatureClassByName(pWorkspace, fcName)
It works great but now I would like to display the full catalog path of the feature class object. Is that possible?
I've been looking for hours but can't seem to do it. The Feature Class could exist in a Feature Dataset. So the feature class could be in locations like
E:\Batch\Delivered.gdb\Bridges
D:\Data\Final\Infrastructure.gdb\EastValley\powerlines
C:/projects/RedRiverBasin/data.mdb/streams
C:/projects/Airports/USA.mdb/West/lax
Does that info get included in the FeatureClass object or do I have to tweak my function?
I tried:
Dim pDataset As IDataset = CType(fcTest, IDataset)
But pDataset.Name is only the name of the feature class and not the full catalog path and name including any Feature Dataset if that's where its located.