Repository.Action.GetAllActionsDictionary

From ReliaWiki
Revision as of 20:20, 22 May 2015 by Alex Ulanov (talk | contribs) (Created page with '{{Template:APIClass|Repository Class|Repository}} {{Template:Repository.GetAllActions.Cmt}} == Syntax== *GetAllActions() {{APIPrefix|As}} cAction() == Usage E…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search


Returns an array containing all actions from the current project.

Syntax

Usage Example

 'Declare a new repository connection object. 
 Dim MyRepository As New Repository
 
 'Connect to the Synthesis repository. 
 Dim Success As Boolean = False
 Success = MyRepository.ConnectToRepository("RepositoryFileNamePath")
 'Set a first available project as current. 
 MyRepository.Project.SetCurrentProject(0)
 
 'Get the dictionary of actions in the connected repository. 
 Dim actions As Dictionary(Of Integer, cAction)
 actions = MyRepository.Action.GetAllActionsDictionary()