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
- uiControl
Type: Microsoft.VisualStudio.TestTools.UITesting.UITestControl
The control for which the Descriptor is required.
- 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
- 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
IUITestPropertyProvider Interface