Repository.Action.AddAction

Saves a new cAction object to the Synthesis repository. Returns a Boolean value; when true, indicates that the action now exists in the repository.

Syntax
object.Action.AddAction(action)

where object is a variable that represents a Repository object.

Example
VBA MyRepository Repository NewAction cAction NewAction.Name = MyRepository.Project.SetCurrentProject(1) MyRepository.Action.AddAction(NewAction)

VB.NET MyRepository Repository NewAction cAction MyRepository.Project.SetCurrentProject(1) MyRepository.Action.AddAction(NewAction)