Repository.Action.UpdateAction

Applies any changes made to an existing action. Returns a Boolean value; when true, indicates a successful save.

Syntax
.Action.UpdateAction(action)

Parameters
action
 * Required. The cAction object to be updated.

Example
This example assumes that an action with ID #1 exists in the first available project of a repository.

VBA MyRepository Repository MyAction cAction MyRepository.Project.SetCurrentProject(1) MyAction = MyRepository.Action.GetAction(1) MyAction.Name = MyRepository.Action.UpdateAction(MyAction)

VB.NET MyRepository Repository MyAction cAction MyRepository.Project.SetCurrentProject(1) MyAction = MyRepository.Action.GetAction(1) MyAction.Name = MyRepository.Action.UpdateAction(MyAction)