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
)

参数

  • propertyValue
    类型:Object

    要设置的属性值。

实现

IUITechnologyManager.SetTechnologyManagerProperty(UITechnologyManagerProperty, Object)

异常

异常 条件
NotSupportedException

如果该属性不受支持,System.NotSupportedException 引发。

.NET Framework 安全性

请参阅

参考

UITechnologyManagerProxy 类

Microsoft.VisualStudio.TestTools.UITesting 命名空间