对此属性条件的属性进行参数化处理。
命名空间: Microsoft.VisualStudio.TestTools.UITest.Extension
程序集: Microsoft.VisualStudio.TestTools.UITest.Extension(在 Microsoft.VisualStudio.TestTools.UITest.Extension.dll 中)
语法
声明
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
参数
nameOfProperty
类型:String要进行参数化处理的属性的名称。
nameOfParameter
类型:String参数的名称。
返回值
类型:Boolean
如果该属性已成功参数化,则为 true;否则为 false。
实现
IQueryCondition.ParameterizeProperty(String, String)
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关详细信息,请参阅通过部分受信任的代码使用库。