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

参数

  • propertyName
    类型:String

    属性的名称。

返回值

类型:Object
该属性的值。

实现

IUITechnologyElement.GetPropertyValue(String)

.NET Framework 安全性

请参阅

参考

UITechnologyElementProxy 类

Microsoft.VisualStudio.TestTools.UITesting 命名空间