public int ImportFromERM(string proj, string datum, string units) { int ret = OsrPINVOKE.SpatialReference_ImportFromERM(swigCPtr, proj, datum, units); if (OsrPINVOKE.SWIGPendingException.Pending) { throw OsrPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }