UITechnologyManagerProxy.SetTechnologyManagerProperty 方法
技术管理器设置特定属性。
命名空间: Microsoft.VisualStudio.TestTools.UITesting
程序集: Microsoft.VisualStudio.TestTools.UITesting(在 Microsoft.VisualStudio.TestTools.UITesting.dll 中)
语法
声明
Public Overrides Sub SetTechnologyManagerProperty ( _
propertyName As UITechnologyManagerProperty, _
propertyValue As Object _
)
public override void SetTechnologyManagerProperty(
UITechnologyManagerProperty propertyName,
Object propertyValue
)
public:
virtual void SetTechnologyManagerProperty(
UITechnologyManagerProperty propertyName,
Object^ propertyValue
) override
abstract SetTechnologyManagerProperty :
propertyName:UITechnologyManagerProperty *
propertyValue:Object -> unit
override SetTechnologyManagerProperty :
propertyName:UITechnologyManagerProperty *
propertyValue:Object -> unit
public override function SetTechnologyManagerProperty(
propertyName : UITechnologyManagerProperty,
propertyValue : Object
)
参数
propertyName
类型:Microsoft.VisualStudio.TestTools.UITest.Extension.UITechnologyManagerProperty要设置的属性。
propertyValue
类型:Object要设置的属性值。
实现
IUITechnologyManager.SetTechnologyManagerProperty(UITechnologyManagerProperty, Object)
异常
异常 | 条件 |
---|---|
NotSupportedException | 如果该属性不受支持,System.NotSupportedException 引发。 |
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关详细信息,请参阅通过部分受信任的代码使用库。