Share via


IQueryCondition.ParameterizeProperty Method

This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.

Parameterizes a property of this query condition.

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

Syntax

'Declaration
Function ParameterizeProperty ( _
    nameOfProperty As String, _
    nameOfParameter As String _
) As Boolean
bool ParameterizeProperty(
    string nameOfProperty,
    string nameOfParameter
)
bool ParameterizeProperty(
    String^ nameOfProperty, 
    String^ nameOfParameter
)
abstract ParameterizeProperty : 
        nameOfProperty:string * 
        nameOfParameter:string -> bool
function ParameterizeProperty(
    nameOfProperty : String, 
    nameOfParameter : String
) : boolean

Parameters

  • nameOfProperty
    Type: String

    The name of the property.

  • nameOfParameter
    Type: String

    The name of the parameter.

Return Value

Type: Boolean
true if the parameterization is successful; otherwise, false.

.NET Framework Security

See Also

Reference

IQueryCondition Interface

Microsoft.VisualStudio.TestTools.UITest.Extension Namespace