共用方式為


UITechnologyManager.SetTechnologyManagerProperty 方法

在衍生類別中實作時,會在此技術管理員中設定指定屬性的值。

命名空間:  Microsoft.VisualStudio.TestTools.UITest.Extension
組件:  Microsoft.VisualStudio.TestTools.UITest.Extension (在 Microsoft.VisualStudio.TestTools.UITest.Extension.dll 中)

語法

'宣告
Public Overridable Sub SetTechnologyManagerProperty ( _
    propertyName As UITechnologyManagerProperty, _
    propertyValue As Object _
)
public virtual void SetTechnologyManagerProperty(
    UITechnologyManagerProperty propertyName,
    Object propertyValue
)
public:
virtual void SetTechnologyManagerProperty(
    UITechnologyManagerProperty propertyName, 
    Object^ propertyValue
)
abstract SetTechnologyManagerProperty : 
        propertyName:UITechnologyManagerProperty * 
        propertyValue:Object -> unit 
override SetTechnologyManagerProperty : 
        propertyName:UITechnologyManagerProperty * 
        propertyValue:Object -> unit 
public function SetTechnologyManagerProperty(
    propertyName : UITechnologyManagerProperty, 
    propertyValue : Object
)

參數

實作

IUITechnologyManager.SetTechnologyManagerProperty(UITechnologyManagerProperty, Object)

.NET Framework 安全性

請參閱

參考

UITechnologyManager 類別

Microsoft.VisualStudio.TestTools.UITest.Extension 命名空間

UITechnologyManagerProperty