ValueMap Class

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


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

public class ValueMap

The ValueMap type exposes the following members.

Public methodValueMapInitializes a new instance of the ValueMap class.

Public propertyParameterListGets the collection of action parameters.

Public methodAddAdds the provided action parameter to the parameter list of this value map.
Public methodClearRemoves all action parameters from the parameter list.
Public methodContainsReturns a value that indicates whether an action parameter by the provided name already occurs in the parameter list.
Public methodEqualsDetermines whether the specified Object is equal to the current Object. (Inherited from 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 methodGetHashCodeServes as a hash function for a particular type. (Inherited from Object.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodPopulateParametersDictionaryAfterDeserializationPopulates the parameter values after the UI test is deserialized.
Public methodRemoveRemoves the parameter that is identified by the given name from the parameter list.
Public methodSetParameterValueSets the value of the corresponding named parameter.
Public methodToStringReturns a string that represents the current object. (Inherited from Object.)
Public methodTryGetParameterValueRetrieves the value of the named parameter.

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

Community Additions