libsbmlcs.Model.isSetId C# (CSharp) Method

isSetId() public method

public isSetId ( ) : bool
return bool
        public new bool isSetId()
        {
            bool ret = libsbmlPINVOKE.Model_isSetId(swigCPtr);
            return ret;
        }

Usage Example

コード例 #1
0
        private string getProjectName(Model model)
        {
            var name = String.Empty;

            if (model.isSetId())
            {
                name += model.getId() + SBMLConstants.SPACE;
            }
            if (model.isSetName())
            {
                name += model.getName();
            }
            return(name != string.Empty ? name : SBMLConstants.DEFAULT_PROJECT_NAME);
        }
All Usage Examples Of libsbmlcs.Model::isSetId
Model