public string GetAuthorityCode(string target_key) { string ret = OsrPINVOKE.SpatialReference_GetAuthorityCode(swigCPtr, target_key); if (OsrPINVOKE.SWIGPendingException.Pending) { throw OsrPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }