Share via


IQueryCondition.GetPropertyValue Method

This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.

Returns the value of a given property, if it occurs in this query condition.

Namespace:  Microsoft.VisualStudio.TestTools.UITest.Extension
Assembly:  Microsoft.VisualStudio.TestTools.UITest.Extension (in Microsoft.VisualStudio.TestTools.UITest.Extension.dll)

Syntax

'Declaration
Function GetPropertyValue ( _
    nameOfProperty As String _
) As Object
Object GetPropertyValue(
    string nameOfProperty
)
Object^ GetPropertyValue(
    String^ nameOfProperty
)
abstract GetPropertyValue : 
        nameOfProperty:string -> Object
function GetPropertyValue(
    nameOfProperty : String
) : Object

Parameters

  • nameOfProperty
    Type: String

    The name of the property.

Return Value

Type: Object
The value of the property, or nulla null reference (Nothing in Visual Basic) if it does not exist.

.NET Framework Security

See Also

Reference

IQueryCondition Interface

Microsoft.VisualStudio.TestTools.UITest.Extension Namespace