libsbmlcs.Reaction.setName C# (CSharp) Method

setName() public method

public setName ( string name ) : int
name string
return int
        public new int setName(string name)
        {
            int ret = libsbmlPINVOKE.Reaction_setName(swigCPtr, name);
            if (libsbmlPINVOKE.SWIGPendingException.Pending) throw libsbmlPINVOKE.SWIGPendingException.Retrieve();
            return ret;
        }

Usage Example

コード例 #1
0
 public void test_Reaction_setName3()
 {
     Reaction p = new  Reaction(2,2);
       int i = p.setName("");
       assertTrue( i == libsbml.LIBSBML_OPERATION_SUCCESS );
       assertEquals( false, p.isSetName() );
       p = null;
 }