다음을 통해 공유


ActionParameter Class

Represents a parameter that is used to set values and to send key strokes in code.

Inheritance Hierarchy

Object
  Microsoft.VisualStudio.TestTools.UITest.Extension.ActionParameter

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

Syntax

'Declaration
<SerializableAttribute> _
Public Class ActionParameter
[SerializableAttribute]
public class ActionParameter
[SerializableAttribute]
public ref class ActionParameter
[<SerializableAttribute>]
type ActionParameter =  class end
public class ActionParameter

The ActionParameter type exposes the following members.

Constructors

  Name Description
Public method ActionParameter() Initializes a new instance of the ActionParameter class.
Public method ActionParameter(String) Initializes a new instance of the ActionParameter class by using the provided parameter name.
Public method ActionParameter(String, Object) Initializes a new instance of the ActionParameter class.

Top

Properties

  Name Description
Public property Name Gets the name of the parameter.
Public property Value Gets or sets the value of the parameter.

Top

Methods

  Name Description
Public method Equals Determines whether the specified object is equal to the current object. (Inherited from 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 GetHashCode Serves as the default hash function. (Inherited from Object.)
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.Extension Namespace