libsbmlcs.ModelCreator.setOrganisation C# (CSharp) Méthode

setOrganisation() public méthode

public setOrganisation ( string organization ) : int
organization string
Résultat int
        public int setOrganisation(string organization)
        {
            int ret = libsbmlPINVOKE.ModelCreator_setOrganisation(swigCPtr, organization);
            if (libsbmlPINVOKE.SWIGPendingException.Pending) throw libsbmlPINVOKE.SWIGPendingException.Retrieve();
            return ret;
        }

Usage Example

 public void test_SBase_setModelHistory_Model()
 {
     S.setMetaId("_001");
       ModelHistory history = new  ModelHistory();
       ModelCreator mc = new  ModelCreator();
       Date date = new  Date(2005,12,30,12,15,45,1,2,0);
       mc.setFamilyName( "Keating");
       mc.setGivenName( "Sarah");
       mc.setEmail( "*****@*****.**");
       mc.setOrganisation( "UH");
       history.addCreator(mc);
       history.setCreatedDate(date);
       history.setModifiedDate(date);
       int i = S.setModelHistory(history);
       assertTrue( i == libsbml.LIBSBML_OPERATION_SUCCESS );
       history = null;
 }
All Usage Examples Of libsbmlcs.ModelCreator::setOrganisation