CModel.Parameters: Difference between revisions
Jump to navigation
Jump to search
Chris Kahn (talk | contribs) |
Chris Kahn (talk | contribs) |
||
Line 7: | Line 7: | ||
== Usage Example == | == Usage Example == | ||
{{APIComment|Declare the cModel class using an in-line parameter list.}} | {{APIComment|'Declare the cModel class using an in-line parameter list.}} | ||
Dim newModel As New cModel(ModelTypeEnum.Weibull2, | Dim newModel As New cModel(ModelTypeEnum.Weibull2, | ||
ModelCategoryEnum.Reliability, "NewModel1", 1, 100) | ModelCategoryEnum.Reliability, "NewModel1", 1, 100) | ||
{{APIComment|Get the list of model parameters. See [[ParamValues Class|ParamValues]].}} | {{APIComment|'Get the list of model parameters. See [[ParamValues Class|ParamValues]].}} | ||
Dim ModelParameters() As [[ParamValues Class|ParamValues]] | Dim ModelParameters() As [[ParamValues Class|ParamValues]] | ||
ModelParameters = newModel.Parameters | ModelParameters = newModel.Parameters |
Revision as of 17:04, 6 May 2014
Syntax
- Parameters()AsParamValues()
Usage Example
'Declare the cModel class using an in-line parameter list. Dim newModel As New cModel(ModelTypeEnum.Weibull2, ModelCategoryEnum.Reliability, "NewModel1", 1, 100) 'Get the list of model parameters. See ParamValues. Dim ModelParameters() As ParamValues ModelParameters = newModel.Parameters