IUITechnologyManager.SetTechnologyManagerProperty 方法
此 API 支持 .NET Framework 基础结构,不适合在代码中直接使用。
在派生类中实现时,在此技术管理器中设置给定属性的值。
命名空间: Microsoft.VisualStudio.TestTools.UITest.Extension
程序集: Microsoft.VisualStudio.TestTools.UITest.Extension(在 Microsoft.VisualStudio.TestTools.UITest.Extension.dll 中)
语法
声明
Sub SetTechnologyManagerProperty ( _
propertyName As UITechnologyManagerProperty, _
propertyValue As Object _
)
void SetTechnologyManagerProperty(
UITechnologyManagerProperty propertyName,
Object propertyValue
)
void SetTechnologyManagerProperty(
UITechnologyManagerProperty propertyName,
Object^ propertyValue
)
abstract SetTechnologyManagerProperty :
propertyName:UITechnologyManagerProperty *
propertyValue:Object -> unit
function SetTechnologyManagerProperty(
propertyName : UITechnologyManagerProperty,
propertyValue : Object
)
参数
- propertyName
类型:Microsoft.VisualStudio.TestTools.UITest.Extension.UITechnologyManagerProperty
UITechnologyManagerProperty 枚举的一个成员。
- propertyValue
类型:System.Object
属性的值。
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关更多信息,请参见通过部分受信任的代码使用库。