QueryCondition.ParameterizeProperty Method
Parameterizes the given property by using the given parameter name.
Namespace: Microsoft.VisualStudio.TestTools.UITest.Extension
Assembly: Microsoft.VisualStudio.TestTools.UITest.Extension (in Microsoft.VisualStudio.TestTools.UITest.Extension.dll)
Syntax
'Declaration
Public Overridable Function ParameterizeProperty ( _
nameOfProperty As String, _
nameOfParameter As String _
) As Boolean
public virtual bool ParameterizeProperty(
string nameOfProperty,
string nameOfParameter
)
public:
virtual bool ParameterizeProperty(
String^ nameOfProperty,
String^ nameOfParameter
)
abstract ParameterizeProperty :
nameOfProperty:string *
nameOfParameter:string -> bool
override ParameterizeProperty :
nameOfProperty:string *
nameOfParameter:string -> bool
public 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 property was successfully parameterized; otherwise, false.
Implements
IQueryCondition.ParameterizeProperty(String, String)
.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.