Language

ActionList Members

Include Protected Members
Include Inherited Members

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Represents a list of UITestAction objects that together constitute a UITest.

The ActionList type exposes the following members.

Constructors

  Name Description
Public method ActionList Initializes a new instance of the ActionList class.

Top

Methods

  Name Description
Public method AddRange Appends the provided list of actions to the end of the internal list of actions.
Public method Delete Removes the action with the given identifier from the list of actions.
Public method DeleteRange Removes all items within the range represented by the given identifiers.
Public method Equals Overloaded. Returns whether the provided object is equal to the current object.
Protected method Finalize Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.)
Public method Find Finds and returns a test action item in the list using the given identifier.
Public method FindIndex Finds and returns a test action item in the list using the given index.
Public method GetActionsOfType<T> Returns a list of test actions that are of the given type.
Public method GetHashCode Serves as a hash function for a particular type. (Overrides Object.GetHashCode().)
Public method GetRange Returns the test actions from the list within the given range.
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method ToString Returns a String that represents the current Object. (Inherited from Object.)

Top

Properties

  Name Description
Public property Actions Gets the list of UITestAction objects.
Public property Count Gets the number of actions in the list.

Top

See Also

Reference

ActionList Class

Microsoft.VisualStudio.TestTools.UITest.CodeGeneration Namespace