共用方式為


UITechnologyElementProxy.GetPropertyValue 方法

取得指定之屬性值的這個項目的。

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

語法

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

參數

傳回值

型別:System.Object
屬性的值。

實作

IUITechnologyElement.GetPropertyValue(String)

.NET Framework 安全性

請參閱

參考

UITechnologyElementProxy 類別

Microsoft.VisualStudio.TestTools.UITesting 命名空間