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: StringThe name of the property.
nameOfParameter
Type: StringThe name of the parameter.
Return Value
Type: Boolean
true if the parameterization is successful; 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.