Share via


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.

Return Value

Type: System.Boolean
true if the property was successfully parameterized; otherwise, false.

Implements

IQueryCondition.ParameterizeProperty(String, String)

.NET Framework Security

See Also

Reference

PropertyCondition Class

Microsoft.VisualStudio.TestTools.UITest.Extension Namespace