Share via


IUITestPropertyProvider.GetPropertyDescriptor Method

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Returns the Property Descriptor for the given property.

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

Syntax

'Declaration
Function GetPropertyDescriptor ( _
    uiControl As UITestControl, _
    propertyName As String _
) As UITestPropertyDescriptor
'Usage
Dim instance As IUITestPropertyProvider
Dim uiControl As UITestControl
Dim propertyName As String
Dim returnValue As UITestPropertyDescriptor

returnValue = instance.GetPropertyDescriptor(uiControl, _
    propertyName)
UITestPropertyDescriptor GetPropertyDescriptor(
    UITestControl uiControl,
    string propertyName
)
UITestPropertyDescriptor^ GetPropertyDescriptor(
    UITestControl^ uiControl, 
    String^ propertyName
)
function GetPropertyDescriptor(
    uiControl : UITestControl, 
    propertyName : String
) : UITestPropertyDescriptor
abstract GetPropertyDescriptor : 
        uiControl:UITestControl * 
        propertyName:string -> UITestPropertyDescriptor 

Parameters

  • propertyName
    Type: System.String
    Name of the property whose descriptor is required.

Return Value

Type: Microsoft.VisualStudio.TestTools.UITesting.UITestPropertyDescriptor
The property descriptor object containing information about the property.

.NET Framework Security

See Also

Reference

IUITestPropertyProvider Interface

IUITestPropertyProvider Members

Microsoft.VisualStudio.TestTools.UITesting Namespace