返回此元素的指定属性的值。
命名空间:  Microsoft.VisualStudio.TestTools.UITest.Extension
程序集:  Microsoft.VisualStudio.TestTools.UITest.Extension(在 Microsoft.VisualStudio.TestTools.UITest.Extension.dll 中)
语法
声明
Function GetPropertyValue ( _
    propertyName As String _
) As Object
Object GetPropertyValue(
    string propertyName
)
Object^ GetPropertyValue(
    String^ propertyName
)
abstract GetPropertyValue : 
        propertyName:string -> Object 
function GetPropertyValue(
    propertyName : String
) : Object
参数
- propertyName
 类型:System.String
 要检索的属性的名称。
返回值
类型:System.Object
属性值。
异常
| 异常 | 条件 | 
|---|---|
| NotSupportedException | 不支持该元素属性。 | 
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关更多信息,请参见通过部分受信任的代码使用库。