public static int stringToInt(string sboTerm) { int ret = libsbmlPINVOKE.SBO_stringToInt(sboTerm); if (libsbmlPINVOKE.SWIGPendingException.Pending) throw libsbmlPINVOKE.SWIGPendingException.Retrieve(); return ret; }