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
类型:System.Object
要设置的属性值。
实现
IUITechnologyManager.SetTechnologyManagerProperty(UITechnologyManagerProperty, Object)
异常
异常 | 条件 |
---|---|
NotSupportedException | 如果该属性不受支持,引发System.NotSupportedException。 |
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关更多信息,请参见通过部分受信任的代码使用库。