CModel.Parameters: Difference between revisions

From ReliaWiki
Jump to navigation Jump to search
No edit summary
Line 7: Line 7:


== Usage Example ==
== Usage Example ==
<div style="margin-right: 150px;">
  {{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,  
Line 14: Line 15:
   Dim ModelParameters() As [[ParamValues Class|ParamValues]]
   Dim ModelParameters() As [[ParamValues Class|ParamValues]]
   ModelParameters = newModel.Parameters
   ModelParameters = newModel.Parameters
</div>

Revision as of 16:47, 15 May 2014


Syntax

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