libsbml.CompartmentType.setId C# (CSharp) Method

setId() public method

public setId ( string sid ) : int
sid string
return int
        public new int setId(string sid)
        {
            int ret = libsbmlPINVOKE.CompartmentType_setId(swigCPtr, sid);
            return ret;
        }

Usage Example

Esempio n. 1
0
 public void test_CompartmentType_copyConstructor()
 {
     CompartmentType o1 = new CompartmentType(2,4);
       o1.setId("c");
       assertTrue( o1.getId() ==  "c" );
       CompartmentType o2 = new CompartmentType(o1);
       assertTrue( o2.getId() ==  "c" );
       assertTrue( o2.getParentSBMLObject() == o1.getParentSBMLObject() );
       o2 = null;
       o1 = null;
 }
All Usage Examples Of libsbml.CompartmentType::setId