ValueMap.Contains Method

Returns a value that indicates whether an action parameter by the provided name already occurs in the parameter list.

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

Syntax

'Declaration
Public Function Contains ( _
    parameterName As String _
) As Boolean
public bool Contains(
    string parameterName
)
public:
bool Contains(
    String^ parameterName
)
member Contains : 
        parameterName:string -> bool
public function Contains(
    parameterName : String
) : boolean

Parameters

  • parameterName
    Type: String

    The name of the parameter.

Return Value

Type: Boolean
true if the named parameter occurs in the parameter list; otherwise, false.

.NET Framework Security

See Also

Reference

ValueMap Class

Microsoft.VisualStudio.TestTools.UITest.Extension Namespace

ParameterList