Partager via


IUITechnologyElement.GetPropertyValue Method

Returns the value of the specified property for this element.

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

Syntax

'Declaration
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

Parameters

  • propertyName
    Type: String

    The name of the property to retrieve.

Return Value

Type: Object
The property value.

Exceptions

Exception Condition
NotSupportedException

The element property is not supported.

.NET Framework Security

See Also

Reference

IUITechnologyElement Interface

Microsoft.VisualStudio.TestTools.UITest.Extension Namespace