I need a piece of code to check if a layer in ArcMap is a FeautureLayer.
IMap pMap = m_mxDoc.FocusMap;
for (int i = 0; i < m_mxDoc.Maps.Count; i++) {
ILayer pLayer = pMap.Layer;
//if (typeof(pMap.Layer) is IFeatureLayer ) ??? How to code here?
Appreciate if you can help.