ILayer pLayer ;
IFeatureLayer pFeatureLayer = (iFeatureLayer)pLayer ;
IGeoDataset pGeoDs = (pFeatureLayer.featureClass) as iGeoDataset;
ISpatialRefrence spatialRefrence = pGeoDs.spatialRefrence;