This documentation is archived and is not being maintained.

UITestPropertyProvider.GetPropertyDescriptor Method

Returns the property descriptor for the specified property of the given control.

Namespace:  Microsoft.VisualStudio.TestTools.UITesting
Assembly:  Microsoft.VisualStudio.TestTools.UITesting (in Microsoft.VisualStudio.TestTools.UITesting.dll)

public abstract UITestPropertyDescriptor GetPropertyDescriptor(
	UITestControl uiTestControl,
	string propertyName
)

Parameters

uiTestControl
Type: Microsoft.VisualStudio.TestTools.UITesting.UITestControl
A UITestControl.
propertyName
Type: System.String
The name of the property.

Return Value

Type: Microsoft.VisualStudio.TestTools.UITesting.UITestPropertyDescriptor
The requested property descriptor.

Show: