How I can to get IDEFeatureClass by IWorkspace?

578
1
06-04-2020 01:43 AM
VsevU
by
New Contributor

How I can to get IDEFeatureClass by IWorkspace or by GDB database path?

ArcGis desktop 10.3

0 Kudos
1 Reply
GKmieliauskas
Esri Regular Contributor

Hi,

Sample for IDETable, but it will work and for IDEFeatureClass

        IGPUtilities gputilities = new GPUtilitiesClass();
        IDETable TargetTable = (IDETable)gputilities.MakeDataElement(pathToTable, null, null);

pathToTable = Path.Combine(pWorkspace.PathName, tableName);

0 Kudos