public static bool isUnitKind(string name, long level, long version) { bool ret = libsbmlPINVOKE.Unit_isUnitKind(name, level, version); if (libsbmlPINVOKE.SWIGPendingException.Pending) throw libsbmlPINVOKE.SWIGPendingException.Retrieve(); return ret; }