This documentation is archived and is not being maintained.

FilterCondition Class


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

public class FilterCondition : QueryCondition

The FilterCondition type exposes the following members.

Public methodFilterCondition()Initializes a new instance of the FilterCondition class.
Public methodFilterCondition(IQueryCondition[])Initializes a new instance of the FilterCondition class by using the provided query conditions.

Public propertyConditionsGets or sets an array of nested query conditions. (Inherited from QueryCondition.)
Public propertyConditionsWrapperGets or sets the nested conditions for serialization. (Inherited from QueryCondition.)
Public propertyNameGets or sets the name of this query condition. (Inherited from QueryCondition.)

Public methodBindParametersBinds parameters to properties in this query condition by using the given value map. (Inherited from QueryCondition.)
Public methodEqualsReturns a value that indicates whether the provided object is equal to this query condition. (Inherited from QueryCondition.)
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. (Inherited from QueryCondition.)
Public methodGetPropertyValueRetrieves the value of the named property, if it exists. (Inherited from QueryCondition.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Public methodMatchReturns a value that indicates whether the provided element matches the current filter condition. (Overrides QueryCondition.Match(IUITechnologyElement).)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodParameterizePropertyParameterizes the given property by using the given parameter name. (Inherited from QueryCondition.)
Public methodStatic memberParseReturns an instance of the FilterCondition class by parsing the provided query element string.
Public methodToStringReturns the current filter condition as a string. (Overrides QueryCondition.ToString().)
Public methodStatic memberTryParseReturns a value that indicates whether the provided query element string can be parsed into a FilterCondition.

Public fieldStatic memberConditionDelimiterReturns the delimiter to be positioned between conditions (",").

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