다음을 통해 공유


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: String

    The name of the property.

  • nameOfParameter
    Type: String

    The 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

See Also

Reference

QueryCondition Class

Microsoft.VisualStudio.TestTools.UITest.Extension Namespace