Returns the property descriptor for the specified property of 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 GetPropertyDescriptor ( _
    uiTestControl As UITestControl, _
    propertyName As String _
) As UITestPropertyDescriptor
public abstract UITestPropertyDescriptor GetPropertyDescriptor(
    UITestControl uiTestControl,
    string propertyName
)
public:
virtual UITestPropertyDescriptor^ GetPropertyDescriptor(
    UITestControl^ uiTestControl, 
    String^ propertyName
) abstract
abstract GetPropertyDescriptor : 
        uiTestControl:UITestControl * 
        propertyName:string -> UITestPropertyDescriptor
public abstract function GetPropertyDescriptor(
    uiTestControl : UITestControl, 
    propertyName : String
) : UITestPropertyDescriptor
Parameters
- uiTestControl 
 Type: Microsoft.VisualStudio.TestTools.UITesting.UITestControl
- propertyName 
 Type: String- The name of the property. 
Return Value
Type: Microsoft.VisualStudio.TestTools.UITesting.UITestPropertyDescriptor
The requested property descriptor.
.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