Export (0) Print
Expand All

QueryElement Class

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

System.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)

public class QueryElement : IQueryElement

The QueryElement type exposes the following members.

  NameDescription
Public methodQueryElementInitializes a new instance of the QueryElement class.
Top

  NameDescription
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.
Top

  NameDescription
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 the default hash function. (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.)
Top

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