共用方式為


UITechnologyManager.GetTechnologyManagerProperty 方法

傳回此技術管理員之指定屬性的值。

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

語法

'宣告
Public Overridable Function GetTechnologyManagerProperty ( _
    propertyName As UITechnologyManagerProperty _
) As Object
public virtual Object GetTechnologyManagerProperty(
    UITechnologyManagerProperty propertyName
)
public:
virtual Object^ GetTechnologyManagerProperty(
    UITechnologyManagerProperty propertyName
)
abstract GetTechnologyManagerProperty : 
        propertyName:UITechnologyManagerProperty -> Object  
override GetTechnologyManagerProperty : 
        propertyName:UITechnologyManagerProperty -> Object
public function GetTechnologyManagerProperty(
    propertyName : UITechnologyManagerProperty
) : Object

參數

傳回值

類型:Object
指定之屬性的值。

實作

IUITechnologyManager.GetTechnologyManagerProperty(UITechnologyManagerProperty)

例外狀況

例外狀況 條件
NotSupportedException

這個技術管理員不支援此屬性。

.NET Framework 安全性

請參閱

參考

UITechnologyManager 類別

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