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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.