Bagikan melalui


ActionList Class

Represents the list of actions in a UITest.

Inheritance Hierarchy

Object
  Microsoft.VisualStudio.TestTools.UITest.Common.ActionList

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

Syntax

'Declaration
Public Class ActionList
public class ActionList
public ref class ActionList
type ActionList =  class end
public class ActionList

The ActionList type exposes the following members.

Constructors

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

Top

Properties

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

Top

Methods

  Name Description
Public method AddRange Adds the actions in the provided list to the end of this action list.
Public method Delete Deletes the action from the list that has the specified ID.
Public method DeleteRange Deletes a range of actions from this action list.
Public method Equals(Object) Determines whether the provided object is equal to this action list object. (Overrides Object.Equals(Object).)
Public method Equals(ActionList) Determines whether the provided action list is equal to this action list object.
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method Find Searches for an action that has the given identifier and returns the action.
Public method FindIndex Returns the index of the action that has the specified identifier.
Public method GetActionsOfType<T> Returns an enumerated list of actions of the specified type from this action list.
Public method GetHashCode Serves as a hash function for a particular type. (Overrides Object.GetHashCode.)
Public method GetRange Returns a collection that contains the specified range of actions from this action list.
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

Thread Safety

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

See Also

Reference

Microsoft.VisualStudio.TestTools.UITest.Common Namespace

UITest