UITestPropertyProvider Class
Provides an abstract base class for implementing custom support for providing properties for user interface (UI) test controls.
Inheritance Hierarchy
Object
Microsoft.VisualStudio.TestTools.UITesting.UITestPropertyProvider
Namespace: Microsoft.VisualStudio.TestTools.UITesting
Assemblies: Microsoft.VisualStudio.TestTools.WindowsStore.UITesting (in Microsoft.VisualStudio.TestTools.WindowsStore.UITesting.dll)
Microsoft.VisualStudio.TestTools.UITesting (in Microsoft.VisualStudio.TestTools.UITesting.dll)
Syntax
'Declaration
<CLSCompliantAttribute(True)> _
Public MustInherit Class UITestPropertyProvider
[CLSCompliantAttribute(true)]
public abstract class UITestPropertyProvider
[CLSCompliantAttribute(true)]
public ref class UITestPropertyProvider abstract
[<AbstractClass>]
[<CLSCompliantAttribute(true)>]
type UITestPropertyProvider = class end
public abstract class UITestPropertyProvider
The UITestPropertyProvider type exposes the following members.
Constructors
Name | Description | |
---|---|---|
UITestPropertyProvider | Infrastructure. Initializes a new instance of the UITestPropertyProvider class. |
Top
Properties
Name | Description | |
---|---|---|
IsGetProperty | Infrastructure. Gets or sets a value that indicates whether the current call to the associated property is a get call or a set call. | |
PropertyName | Infrastructure. Gets or sets the name of the associated property. | |
UIControl | Gets or sets the associated user interface testing control. |
Top
Methods
Name | Description | |
---|---|---|
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetControlSupportLevel | When overridden in a derived class, returns a value that indicates the support level of this provider for the given control. | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetPredefinedSearchProperties | When overridden in a derived class, gets a string array containing the search properties that are predefined for the associated control. | |
GetPropertyDescriptor | Returns the property descriptor for the specified property of the given control. | |
GetPropertyForAction | When overridden in a derived class, returns the name of the property that is used by the specified action on the given control. | |
GetPropertyForControlState | When overridden in a derived class, returns an array of property names and an array of all state values for the given control that match the specified control state value. | |
GetPropertyNames | When overridden in a derived class, returns a collection of property names in the given control. | |
GetPropertyNamesClassType | When overridden in a derived class, returns the Type for the class that provides the property names for the given control. | |
GetPropertyValue | When overridden in a derived class, returns the value of the specified property from the given control. | |
GetSpecializedClass | When overridden in a derived class, returns the Type for the corresponding specialized control (for HTML, Windows Forms, or Windows Presentation Foundation) for the given test control. | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
SetPropertyValue | When overridden in a derived class, sets the specified property of the given control with the provided value. | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Top
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
See Also
Reference
Microsoft.VisualStudio.TestTools.UITesting Namespace