How to know if a featureclass is from a shapefile

Discussion created by xtian79 on May 24, 2011
Latest reply on May 26, 2011 by xtian79

I have this issue, programmatically i have a feature class get it from a map document, and i want to know if this featureclass comes from a shapefile or a SDE database.

any suggestion is welcome.