1. If you want to get all the selected features in Map then
// Reset to the first selected feature
ESRI.ArcGIS.Geodatabase.IEnumFeature enumFeature = (ESRI.ArcGIS.Geodatabase.IEnumFeature)map.FeatureSelection; // Explicit Cast enumFeature.Reset();
ESRI.ArcGIS.Geodatabase.IFeature feature = enumFeature.Next();
while (!(feature == null))
{
//Do you job here//
feature = enumFeature.Next();
}
2. If you want to get all the features selected in a Layer then make use of IFeatureSelection interface