共用方式為


IUITechnologyManager.GetTechnologyManagerProperty 方法

這個應用程式開發介面支援 .NET Framework 基礎結構,但您不可以直接在程式碼中使用它。

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

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

語法

'宣告
Function GetTechnologyManagerProperty ( _
    propertyName As UITechnologyManagerProperty _
) As Object
Object GetTechnologyManagerProperty(
    UITechnologyManagerProperty propertyName
)
Object^ GetTechnologyManagerProperty(
    UITechnologyManagerProperty propertyName
)
abstract GetTechnologyManagerProperty : 
        propertyName:UITechnologyManagerProperty -> Object
function GetTechnologyManagerProperty(
    propertyName : UITechnologyManagerProperty
) : Object

參數

傳回值

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

例外狀況

例外狀況 條件
NotSupportedException

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

.NET Framework 安全性

請參閱

參考

IUITechnologyManager 介面

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