Repository.Action.GetAllActions: Difference between revisions

From ReliaWiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 3: Line 3:


== Syntax==
== Syntax==
GetAllActions() {{APIPrefix|As}} [[cAction Class|cAction]]()
*GetAllActions() {{APIPrefix|As}} [[cAction Class|cAction]]()


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

Revision as of 18:54, 27 February 2014


Returns an array containing all actions from 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 Actions in the connected repository.

       Dim ListOfActions() As cAction
       ListOfActions = MyRepository.GetAllActions()