PropertyCondition.ParameterizeProperty Method
Parameterizes a property of this property condition.
Namespace: Microsoft.VisualStudio.TestTools.UITest.Extension
Assembly: Microsoft.VisualStudio.TestTools.UITest.Extension (in Microsoft.VisualStudio.TestTools.UITest.Extension.dll)
Syntax
'Declaration
Public Overrides Function ParameterizeProperty ( _
nameOfProperty As String, _
nameOfParameter As String _
) As Boolean
public override bool ParameterizeProperty(
string nameOfProperty,
string nameOfParameter
)
public:
virtual bool ParameterizeProperty(
String^ nameOfProperty,
String^ nameOfParameter
) override
abstract ParameterizeProperty :
nameOfProperty:string *
nameOfParameter:string -> bool
override ParameterizeProperty :
nameOfProperty:string *
nameOfParameter:string -> bool
public override function ParameterizeProperty(
nameOfProperty : String,
nameOfParameter : String
) : boolean
Parameters
- nameOfProperty
Type: System.String
The name of the property to parameterize.
- nameOfParameter
Type: System.String
The name of the parameter.
Return Value
Type: System.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.