ParamValues Class

Properties

 * Value (as double)
 * ParamName (as string)

Usage Example
In this example, a model is accessed from a repository, and the name/value of the model's first parameter are retrieved. Dim MyRepository As New Repository Dim Success As Boolean = False Success = MyRepository.ConnectToRepository("C:\Users\Name\Documents\ReliaSoft\Files\repository.rsr9") Dim ListOfProjects As NameIdPair ListOfProjects = MyRepository.GetAllProjects MyRepository.SetCurrentProject(ListOfProjects(0).ID) Dim ListOfModels As NameIdPair ListOfModels = MyRepository.GetAllModelsInfo Dim AModel as cModel AModel = MyRepository.GetModel(ListOfModels(0).ID) Dim ModelParameters As ParamValues ModelParameters = AModel.Parameters Dim ModelParamName as String ModelParamVame = ModelParameters(0).ParamName Dim ModelParamValue as Double ModelParamValue = ModelParameters(0).Value MyRepository.DisconnectFromRepository