I need to cast a featureclass to IPolyline. In this piece of code below
IFeatureClass fcR = gHelp.GetFeatureClass(pWS2, fNameR);
ESRI.ArcGIS.Geometry.IPolyline refLine = fcR as ESRI.ArcGIS.Geometry.IPolyline;
the IPolyline refLine is null. What's wrong in this piece of code? Thanks if you can help.