public static int GetWellKnownGeogCSAsWKT(string name, out string argout) { int ret = OsrPINVOKE.GetWellKnownGeogCSAsWKT(name, out argout); if (OsrPINVOKE.SWIGPendingException.Pending) { throw OsrPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }