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 | |
|---|---|---|
| .gif) | QueryElement | Initializes a new instance of the QueryElement class. | 
Top
Properties
| Name | Description | |
|---|---|---|
| .gif) | Ancestor | Gets or sets the UI element that is the ancestor of this query element. | 
| .gif) | Condition | Gets or sets the query condition for this query element. | 
| .gif) | SearchConfigurations | Gets or sets a list of attributes and values that are used to search. | 
Top
Methods
| Name | Description | |
|---|---|---|
| .gif) | Equals | Returns a value that indicates whether the provided object is equal to this query element. (Overrides Object.Equals(Object).) | 
| .gif) | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | 
| .gif) | GetHashCode | Serves as the default hash function. (Overrides Object.GetHashCode.) | 
| .gif) | GetType | Gets the Type of the current instance. (Inherited from Object.) | 
| .gif) | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | 
| .gif) | 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.