Click or drag to resize
Task Scheduler Managed Class Library

ActionCollection Methods

The ActionCollection type exposes the following members.

Methods
 NameDescription
Public methodAdd(String, String, String)Adds an ExecAction to the task.
Public methodAddTAction(TAction)Adds an action to the task.
Public methodAddNewAdds a new Action instance to the task.
Public methodAddRangeAdds a collection of actions to the end of the ActionCollection.
Public methodClearClears all actions from the task.
Public methodContainsDetermines whether the ICollectionT contains a specific value.
Public methodContainsTypeDetermines whether the specified action type is contained in this collection.
Public methodCopyTo(Action, Int32) Copies the elements of the ActionCollection to an array of Action, starting at a particular index.
Public methodCopyTo(Int32, Action, Int32, Int32) Copies the elements of the ActionCollection to an Action array, starting at a particular Action array index.
Public methodDisposeReleases all resources used by this class.
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public methodFind Searches for an Action that matches the conditions defined by the specified predicate, and returns the first occurrence within the entire collection.
Public methodFindIndexOf(PredicateAction) Searches for an Action that matches the conditions defined by the specified predicate, and returns the zero-based index of the first occurrence within the collection.
Public methodFindIndexOf(Int32, Int32, PredicateAction) Searches for an Action that matches the conditions defined by the specified predicate, and returns the zero-based index of the first occurrence within the collection that starts at the specified index and contains the specified number of elements.
Public methodGetEnumeratorRetrieves an enumeration of each of the actions.
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodIndexOf(Action)Determines the index of a specific item in the IListT.
Public methodIndexOf(String)Determines the index of a specific item in the IListT.
Public methodInsertInserts an action at the specified index.
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodRemoveRemoves the first occurrence of a specific object from the ICollectionT.
Public methodRemoveAtRemoves the action at a specified index.
Public methodToArrayCopies the elements of the ActionCollection to a new array.
Public methodToStringReturns a String that represents the actions in this collection.
(Overrides ObjectToString)
Top
See Also