Repository.Model.GetAllModels: Difference between revisions
Jump to navigation
Jump to search
John Leavitt (talk | contribs) No edit summary |
Chris Kahn (talk | contribs) No edit summary |
||
Line 1: | Line 1: | ||
{{Template:APIClass|Repository Class|Repository}} | {{Template:APIClass|Repository Class|Repository}} | ||
{{Template:Repository.GetAllModels.Cmt}} | |||
== | |||
==Syntax== | |||
{{APIPrefix|As}} | *GetAllModels(){{APIPrefix|As}}[[cModel Class|cModel]]() | ||
== Usage Example == | == Usage Example == |
Revision as of 17:33, 27 February 2014
Returns an array containing all models from the current project.
Syntax
- GetAllModels()AscModel()
Usage Example
Declare a new repository connection class.
Private WithEvents MyRepository As New Repository
Connect to the Synthesis repository.
Dim Success As Boolean = False Success = MyRepository.ConnectToRepository("RepositoryFileNamePath")
Get an array of cModel representing all the models in the Current Project.
Dim ListOfModels() As cModel ListOfModels = MyRepository.GetAllModels