libsbmlcs.CompartmentType.getId C# (CSharp) Method

getId() public method

public getId ( ) : string
return string
        public new string getId()
        {
            string ret = libsbmlPINVOKE.CompartmentType_getId(swigCPtr);
            return ret;
        }

Usage Example

コード例 #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 libsbmlcs.CompartmentType::getId