Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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)
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
A UITestControl.
- propertyName
Type: System.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