How to convert a layer to a featureset

Jun 21, 2011 at 1: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 7:47 AM

IMapFeatureLayer flLayer = .......;

FeatureSet  fsData = flLayer.DataSet;

Jun 21, 2011 at 8:02 AM

Thanks very much!

 Best wisher!