When overridden in a derived class, returns the value of the specified property from the given control.
Namespace:  Microsoft.VisualStudio.TestTools.UITesting
Assemblies:   Microsoft.VisualStudio.TestTools.WindowsStore.UITesting (in Microsoft.VisualStudio.TestTools.WindowsStore.UITesting.dll)
  Microsoft.VisualStudio.TestTools.UITesting (in Microsoft.VisualStudio.TestTools.UITesting.dll)
Syntax
'Declaration
Public MustOverride Function GetPropertyValue ( _
    uiTestControl As UITestControl, _
    propertyName As String _
) As Object
public abstract Object GetPropertyValue(
    UITestControl uiTestControl,
    string propertyName
)
public:
virtual Object^ GetPropertyValue(
    UITestControl^ uiTestControl, 
    String^ propertyName
) abstract
abstract GetPropertyValue : 
        uiTestControl:UITestControl * 
        propertyName:string -> Object
public abstract function GetPropertyValue(
    uiTestControl : UITestControl, 
    propertyName : String
) : Object
Parameters
- uiTestControl 
 Type: Microsoft.VisualStudio.TestTools.UITesting.UITestControl- A UITestControl control. 
- propertyName 
 Type: String- The name of the property. 
Return Value
Type: Object
The value of the specified property from the given control.
.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.
See Also
Reference
Microsoft.VisualStudio.TestTools.UITesting Namespace