Select to view content in your preferred language

How I can to get IDEFeatureClass by IWorkspace?

721
1
06-04-2020 01:43 AM
VsevU
by
Emerging 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