We recommend using Visual Studio 2017
This documentation is archived and is not being maintained.

ActionList Class

Represents the list of actions in a UITest.


Namespace:  Microsoft.VisualStudio.TestTools.UITest.Common
Assembly:  Microsoft.VisualStudio.TestTools.UITest.Common (in Microsoft.VisualStudio.TestTools.UITest.Common.dll)

type ActionList =  class end

The ActionList type exposes the following members.

Public methodActionListInitializes a new instance of the ActionList class.

Public propertyActionsGets the list of actions.
Public propertyCountGets the number of actions in the list.

Public methodAddRangeAdds the actions in the provided list to the end of this action list.
Public methodDeleteDeletes the action from the list that has the specified ID.
Public methodDeleteRangeDeletes a range of actions from this action list.
Public methodEquals(Object)Determines whether the provided object is equal to this action list object. (Overrides Object.Equals(Object).)
Public methodEquals(ActionList)Determines whether the provided action list is equal to this action list 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 methodFindSearches for an action that has the given identifier and returns the action.
Public methodFindIndexReturns the index of the action that has the specified identifier.
Public methodGetActionsOfType(T)Returns an enumerated list of actions of the specified type from this action list.
Public methodGetHashCodeServes as a hash function for a particular type. (Overrides Object.GetHashCode().)
Public methodGetRangeReturns a collection that contains the specified range of actions from this action list.
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodToStringReturns a string that represents the current object. (Inherited from Object.)

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.