libsbmlcs.Compartment.isSetVolume C# (CSharp) Метод

isSetVolume() публичный Метод

public isSetVolume ( ) : bool
Результат bool
        public bool isSetVolume()
        {
            bool ret = libsbmlPINVOKE.Compartment_isSetVolume(swigCPtr);
            return ret;
        }

Usage Example

 public void test_Compartment_setVolume2()
 {
     Compartment c = new  Compartment(2,2);
       int i = c.setVolume(4);
       assertTrue( i == libsbml.LIBSBML_OPERATION_SUCCESS );
       assertTrue( c.getVolume() == 4.0 );
       assertEquals( true, c.isSetVolume() );
       i = c.unsetVolume();
       assertTrue( i == libsbml.LIBSBML_OPERATION_SUCCESS );
       assertEquals( false, c.isSetVolume() );
       c = null;
 }
All Usage Examples Of libsbmlcs.Compartment::isSetVolume