Adds an Action to the end of the ActionCollection.
The ActionCollection index at which the Action has been added.
ActionCollection does not accept a a null reference as a valid value.
ActionCollection does not accept duplicate elements.
| Exception Type | Condition |
|---|---|
| ArgumentNullException | The given action is a null reference. |
| ArgumentException | The given action is already in this ActionCollection. (Duplicate action) |
C#
ActionCollection actions = new ActionCollection(); actions.Add( new GoToAction( page ) );VB.NET
Dim actions as ActionCollection = new ActionCollection() actions.Add( new GoToAction( page ) )
ActionCollection Class | TallComponents.PDF.Actions Namespace