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
- parameterName
Type: System.String
The name of the parameter.
- 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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.