QueryCondition.GetPropertyValue 方法

检索已命名属性的值(如果存在)。

命名空间:  Microsoft.VisualStudio.TestTools.UITest.Extension
程序集:  Microsoft.VisualStudio.TestTools.UITest.Extension(在 Microsoft.VisualStudio.TestTools.UITest.Extension.dll 中)

语法

声明
Public Overridable Function GetPropertyValue ( _
    nameOfProperty As String _
) As Object
public virtual Object GetPropertyValue(
    string nameOfProperty
)
public:
virtual Object^ GetPropertyValue(
    String^ nameOfProperty
)
abstract GetPropertyValue : 
        nameOfProperty:string -> Object 
override GetPropertyValue : 
        nameOfProperty:string -> Object 
public function GetPropertyValue(
    nameOfProperty : String
) : Object

参数

  • nameOfProperty
    类型:System.String
    要检索的属性的名称。

返回值

类型:System.Object
已命名属性的值。

实现

IQueryCondition.GetPropertyValue(String)

.NET Framework 安全性

请参见

参考

QueryCondition 类

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