共用方式為


UITechnologyManagerProxy.GetTechnologyManagerProperty 方法

取得技術管理員特定屬性。

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

語法

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

參數

傳回值

類型:Object
屬性的值。

實作

IUITechnologyManager.GetTechnologyManagerProperty(UITechnologyManagerProperty)

例外狀況

例外狀況 條件
NotSupportedException

如果屬性不受支援,擲回 System.NotSupportedException。

.NET Framework 安全性

請參閱

參考

UITechnologyManagerProxy 類別

Microsoft.VisualStudio.TestTools.UITesting 命名空間