I am looking at this link where we can get all featureclasses, tables or featuredatasets from a geodatabase. I would like to do the same with a File system datastore. Task is to delete all empty feature classes saved in file system datastore.
Currently I have code that loops through all the files in the directory with shape file extensions and use open dataset to check the count and then delete the files.
Is there a way to Obtain List of Defintions from File system datastore ?