Repository.Action.GetAllActions

Gets a list of all existing actions in the current project. Returns a cAction object array that contains the action names, ID numbers and other information.

Syntax
object.Action.GetAllActions

where object is a variable that represents a Repository object.

Example
This example assumes that actions exist in the first available project of a repository.

VBA|VB.NET MyRepository Repository ListofActions cAction MyRepository.Project.SetCurrentProject (1) ListofActions = MyRepository.Action.GetAllActions ActionName String ActionID Integer ActionName = ListofActions(0).ActionDescription ActionID = ListofActions(0).ID MsgBox (ActionName & ActionID)