FilterCondition Class

Inheritance Hierarchy

System.Object
  Microsoft.VisualStudio.TestTools.UITest.Extension.QueryCondition
    Microsoft.VisualStudio.TestTools.UITest.Extension.FilterCondition

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

Syntax

'Declaration
Public Class FilterCondition _
    Inherits QueryCondition
public class FilterCondition : QueryCondition
public ref class FilterCondition : public QueryCondition
type FilterCondition =  
    class
        inherit QueryCondition
    end
public class FilterCondition extends QueryCondition

The FilterCondition type exposes the following members.

Constructors

  Name Description
Public method FilterCondition() Initializes a new instance of the FilterCondition class.
Public method FilterCondition(array<IQueryCondition[]) Initializes a new instance of the FilterCondition class by using the provided query conditions.

Top

Properties

  Name Description
Public property Conditions Gets or sets an array of nested query conditions. (Inherited from QueryCondition.)
Public property ConditionsWrapper Gets or sets the nested conditions for serialization. (Inherited from QueryCondition.)
Public property Name Gets or sets the name of this query condition. (Inherited from QueryCondition.)

Top

Methods

  Name Description
Public method BindParameters Binds parameters to properties in this query condition by using the given value map. (Inherited from QueryCondition.)
Public method Equals Returns a value that indicates whether the provided object is equal to this query condition. (Inherited from QueryCondition.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from QueryCondition.)
Public method GetPropertyValue Retrieves the value of the named property, if it exists. (Inherited from QueryCondition.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method Match Returns a value that indicates whether the provided element matches the current filter condition. (Overrides QueryCondition.Match(IUITechnologyElement).)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method ParameterizeProperty Parameterizes the given property by using the given parameter name. (Inherited from QueryCondition.)
Public methodStatic member Parse Returns an instance of the FilterCondition class by parsing the provided query element string.
Public method ToString Returns the current filter condition as a string. (Overrides QueryCondition.ToString().)
Public methodStatic member TryParse Returns a value that indicates whether the provided query element string can be parsed into a FilterCondition.

Top

Fields

  Name Description
Public fieldStatic member ConditionDelimiter Returns the delimiter to be positioned between conditions (",").

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.UITest.Extension Namespace