Repository.Unit.GetAllUnits: Difference between revisions
Jump to navigation
Jump to search
Albert Szeto (talk | contribs) No edit summary |
Albert Szeto (talk | contribs) No edit summary |
||
Line 1: | Line 1: | ||
{{Template:APIClass|Repository Class|Repository}} | {{Template:APIClass|Repository Class|Repository}} | ||
Gets a list of the Units in the Current Synthesis Project. | |||
== Property Syntax== | == Property Syntax== | ||
{{Template:Repository.GetAllUnits}} | {{Template:Repository.GetAllUnits}} | ||
== Usage Example == | |||
{{APIComment|Declare a new repository connection class.}} | |||
Private WithEvents MyRepository As New Repository | |||
{{APIComment|Connect to the Synthesis repository.}} | |||
Dim Success As Boolean = False | |||
Success = MyRepository.ConnectToRepository("RepositoryFileNamePath") | |||
{{APIComment|Get the list of Units for the Current Project for the connected repository.}} | |||
Dim ListOfUnits() As [[UnitInfo Class|UnitInfo]] | |||
ListOfUnits = MyRepository.GetAllUnits() |
Revision as of 01:16, 18 September 2013
Gets a list of the Units in the Current Synthesis Project.
Property Syntax
Template:Repository.GetAllUnits
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 the list of Units for the Current Project for the connected repository.
Dim ListOfUnits() As UnitInfo ListOfUnits = MyRepository.GetAllUnits()