UITestPropertyProvider.GetPropertyNames Method

When overridden in a derived class, returns a collection of property names in the given control.

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

Syntax

'Declaration
Public MustOverride Function GetPropertyNames ( _
    uiTestControl As UITestControl _
) As ICollection(Of String)
public abstract ICollection<string> GetPropertyNames(
    UITestControl uiTestControl
)
public:
virtual ICollection<String^>^ GetPropertyNames(
    UITestControl^ uiTestControl
) abstract
abstract GetPropertyNames : 
        uiTestControl:UITestControl -> ICollection<string> 
public abstract function GetPropertyNames(
    uiTestControl : UITestControl
) : ICollection<String>

Parameters

Return Value

Type: System.Collections.Generic.ICollection<String>
A collection of property names in the given control.

.NET Framework Security

See Also

Reference

UITestPropertyProvider Class

Microsoft.VisualStudio.TestTools.UITesting Namespace

UITestControl

Other Resources

Enable Coded UI Testing of Your Custom Controls