Share via


ValueMap.SetParameterValue Method

Sets the value of the corresponding named parameter.

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

Syntax

'Declaration
Public Sub SetParameterValue ( _
    parameterName As String, _
    parameterValue As Object _
)
public void SetParameterValue(
    string parameterName,
    Object parameterValue
)
public:
void SetParameterValue(
    String^ parameterName, 
    Object^ parameterValue
)
member SetParameterValue : 
        parameterName:string * 
        parameterValue:Object -> unit
public function SetParameterValue(
    parameterName : String, 
    parameterValue : Object
)

Parameters

  • parameterName
    Type: String

    The name of the parameter.

  • parameterValue
    Type: Object

    The value for the parameter.

.NET Framework Security

See Also

Reference

ValueMap Class

Microsoft.VisualStudio.TestTools.UITest.Extension Namespace