CModel.Parameters: Difference between revisions

From ReliaWiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 7: Line 7:
{{APIName|[[ParamValues]]()}}<br>
{{APIName|[[ParamValues]]()}}<br>
{{APIComment|Returns an array containing model parameters and their values.}}
{{APIComment|Returns an array containing model parameters and their values.}}
== Usage Example ==
{{APIComment|Declare the cModel class using an in-line parameter list.}}
        Dim newModel As New cModel(ModelTypeEnum.Weibull2, ModelCategoryEnum.Reliability, "NewModel1", 1, 100)
{{APIComment|Get the list of Model Parameters.}}
        Dim ModelParameters() As [[ParamValues Class|ParamValues]]
        ModelParameters = newModel.Parameters

Revision as of 00:42, 20 September 2013



Syntax

Parameters () As ParamValues()
Returns an array containing model parameters and their values.

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.

       Dim ModelParameters() As ParamValues
       ModelParameters = newModel.Parameters