How to convert a layer to a featureset

Jun 21, 2011 at 2:31 AM

while i have load a layer to the map,using the function map.addlayer(),how can i convert the current layer to a featureset?

Jun 21, 2011 at 8:47 AM

IMapFeatureLayer flLayer = .......;

FeatureSet  fsData = flLayer.DataSet;

Jun 21, 2011 at 9:02 AM

Thanks very much!

 Best wisher!