Repository.Variable.GetAllVariables: Difference between revisions

From ReliaWiki
Jump to navigation Jump to search
m (Protected "Repository.GetAllVariables" ([edit=sysop] (indefinite) [move=sysop] (indefinite)) [cascading])
No edit summary
Line 1: Line 1:
{{Template:APIClass|Repository Class|Repository}}
{{Template:APIClass|Repository Class|Repository}}
Gets an array containing all Variables
{{Template:Repository.GetAllVariables.Cmt}}
== Method Syntax==


{{APIName|'''GetAllVariables'''()}}
==Syntax==
{{APIPrefix|As}}
*GetAllVariables(){{APIPrefix|As}}[[cVariable Class|cVariable]]()
{{APIName|[[cVariable Class|cVariable]]()}}
{{APIPrefix|As Boolean}}<br>
{{APIComment|Returns an array containing all Variables from the current project.}}


== Usage Example ==
== Usage Example ==

Revision as of 17:59, 27 February 2014


Returns an array containing all variables in the current project.

Syntax

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 Variables in the connected repository.

       Dim ListOfVariables() As cVariable
       ListOfVariables = MyRepository.GetAllVariables()