QueryElement Class

Provides a base class for a query in the user interface (UI) test environment.


Namespace:  Microsoft.VisualStudio.TestTools.UITest.Extension
Assembly:  Microsoft.VisualStudio.TestTools.UITest.Extension (in Microsoft.VisualStudio.TestTools.UITest.Extension.dll)

Public Class QueryElement _
	Implements IQueryElement

The QueryElement type exposes the following members.

Public methodQueryElementInitializes a new instance of the QueryElement class.

Public propertyAncestorGets or sets the UI element that is the ancestor of this query element.
Public propertyConditionGets or sets the query condition for this query element.
Public propertySearchConfigurationsGets or sets a list of attributes and values that are used to search.

Public methodEqualsReturns a value that indicates whether the provided object is equal to this query element. (Overrides Object.Equals(Object).)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public methodGetHashCodeServes as a hash function for a particular type. (Overrides Object.GetHashCode.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodToStringReturns a string that represents the current object. (Inherited from Object.)

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Community Additions