Hello,What is the best and fastest way to remove all features from a feature layer?Currently I'm attempting:
FeatureLayer ftrLayer = (get the feature layer from the map)
ftrLayer.RemoveFeatures(map.GetFullExtent(), "1=1"); // also tried "objectid>0"
ftrLayer.SaveEdits(ftrLayer.GetDataTable());
Doesn't seem to cut it.Also tried ftrLayer.GetDataTable().Clear() with no success.Dealing with a very large number of features that need deleting (~30,000), so hopefully I don't have to iterate them all; doesn't sound like it would efficient nor quick.Regards,Mike