public int setClass(string className) { int ret = libsbmlPINVOKE.ASTNode_setClass(swigCPtr, className); if (libsbmlPINVOKE.SWIGPendingException.Pending) throw libsbmlPINVOKE.SWIGPendingException.Retrieve(); return ret; }