共用方式為


SilverlightElement.GetPropertyValue 方法

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

這個成員會覆寫 UITechnologyElement.GetPropertyValue(String)

命名空間:  Microsoft.VisualStudio.TestTools.UITest.Extension.Silverlight
組件:  Microsoft.VisualStudio.TestTools.UITest.Extension.Silverlight (在 Microsoft.VisualStudio.TestTools.UITest.Extension.Silverlight.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
傳回 Object

實作

IUITechnologyElement.GetPropertyValue(String)

.NET Framework 安全性

請參閱

參考

SilverlightElement 類別

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