ValueMap.TryGetParameterValue Method

Retrieves the value of the named parameter.

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

Syntax

'Declaration
Public Function TryGetParameterValue ( _
    parameterName As String, _
    <OutAttribute> ByRef parameterValue As Object _
) As Boolean
public bool TryGetParameterValue(
    string parameterName,
    out Object parameterValue
)
public:
bool TryGetParameterValue(
    String^ parameterName, 
    [OutAttribute] Object^% parameterValue
)
member TryGetParameterValue : 
        parameterName:string * 
        parameterValue:Object byref -> bool 
public function TryGetParameterValue(
    parameterName : String, 
    parameterValue : Object
) : boolean

Parameters

  • parameterValue
    Type: System.Object%
    (Output) The value of the parameter.

Return Value

Type: System.Boolean
true if the value is successfully retrieved; otherwise, false.

.NET Framework Security

See Also

Reference

ValueMap Class

Microsoft.VisualStudio.TestTools.UITest.Extension Namespace