public int ImportFromUrl(string url) { int ret = OsrPINVOKE.SpatialReference_ImportFromUrl(swigCPtr, url); if (OsrPINVOKE.SWIGPendingException.Pending) { throw OsrPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }