ValueMap Class

Represents the values for the parameters that are used in a UI test.

Inheritance Hierarchy

System.Object
  Microsoft.VisualStudio.TestTools.UITest.Extension.ValueMap

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

Syntax

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

The ValueMap type exposes the following members.

Constructors

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

Top

Properties

  Name Description
Public property ParameterList Gets the collection of action parameters.

Top

Methods

  Name Description
Public method Add Adds the provided action parameter to the parameter list of this value map.
Public method Clear Removes all action parameters from the parameter list.
Public method Contains Returns a value that indicates whether an action parameter by the provided name already occurs in the parameter list.
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 a hash function for a particular type. (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 PopulateParametersDictionaryAfterDeserialization Populates the parameter values after the UI test is deserialized.
Public method Remove Removes the parameter that is identified by the given name from the parameter list.
Public method SetParameterValue Sets the value of the corresponding named parameter.
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Public method TryGetParameterValue Retrieves the value of the named parameter.

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

UITest