QueryCondition.ParameterizeProperty 方法

使用给定参数名对给定属性进行参数化处理。

命名空间:  Microsoft.VisualStudio.TestTools.UITest.Extension
程序集:  Microsoft.VisualStudio.TestTools.UITest.Extension(在 Microsoft.VisualStudio.TestTools.UITest.Extension.dll 中)

语法

声明
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

参数

返回值

类型:System.Boolean
如果该属性已成功参数化,则为 true;否则为 false。

实现

IQueryCondition.ParameterizeProperty(String, String)

.NET Framework 安全性

请参见

参考

QueryCondition 类

Microsoft.VisualStudio.TestTools.UITest.Extension 命名空间