Repository.Model.GetAllModels

Note regarding compound analytical models: After you connect to a database and create the cModel using Repository Class (GetModel or GetAllModels methods), the Repository Class must stay connected to the same database until you are done working with the model.

Syntax

 * GetAllModelscModel

Usage Example
Dim MyRepository As New Repository Dim Success As Boolean = False Success = MyRepository.ConnectToRepository("RepositoryFileNamePath") MyRepository.Project.SetCurrentProject(0) Dim ListOfModels As cModel ListOfModels = MyRepository.Model.GetAllModels