QueryElement Class
Provides a base class for a query in the user interface (UI) test environment.
Inheritance Hierarchy
Object
Microsoft.VisualStudio.TestTools.UITest.Extension.QueryElement
Namespace: Microsoft.VisualStudio.TestTools.UITest.Extension
Assembly: Microsoft.VisualStudio.TestTools.UITest.Extension (in Microsoft.VisualStudio.TestTools.UITest.Extension.dll)
Syntax
'Declaration
Public Class QueryElement _
Implements IQueryElement
public class QueryElement : IQueryElement
public ref class QueryElement : IQueryElement
type QueryElement =
class
interface IQueryElement
end
public class QueryElement implements IQueryElement
The QueryElement type exposes the following members.
Constructors
Name | Description | |
---|---|---|
QueryElement | Initializes a new instance of the QueryElement class. |
Top
Properties
Name | Description | |
---|---|---|
Ancestor | Gets or sets the UI element that is the ancestor of this query element. | |
Condition | Gets or sets the query condition for this query element. | |
SearchConfigurations | Gets or sets a list of attributes and values that are used to search. |
Top
Methods
Name | Description | |
---|---|---|
Equals | Returns a value that indicates whether the provided object is equal to this query element. (Overrides Object.Equals(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.) | |
GetHashCode | Serves as a hash function for a particular type. (Overrides Object.GetHashCode.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
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.