Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
QueryCondition Class
Collapse the table of content
Expand the table of content

QueryCondition Class

Provides an abstract base class for query conditions.

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

[<AbstractClass>]
[<SerializableAttribute>]
type QueryCondition =  
    class
        interface IQueryCondition
    end

The QueryCondition type exposes the following members.

  NameDescription
Protected methodQueryCondition()Initializes a new instance of the QueryCondition class.
Protected methodQueryCondition(IQueryCondition[])Initializes a new instance of the QueryCondition class by using the provided array of nested query conditions.
Top

  NameDescription
Public propertyConditionsGets or sets an array of nested query conditions.
Public propertyConditionsWrapperGets or sets the nested conditions for serialization.
Public propertyNameGets or sets the name of this query condition.
Top

  NameDescription
Public methodBindParametersBinds parameters to properties in this query condition by using the given value map.
Public methodEqualsReturns a value that indicates whether the provided object is equal to this query condition. (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 methodGetPropertyValueRetrieves the value of the named property, if it exists.
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Public methodMatchReturns a value that indicates whether the provided element matches the current query condition.
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodParameterizePropertyParameterizes the given property by using the given parameter name.
Public methodToStringReturns a string representation of this condition. (Overrides Object.ToString().)
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.

Community Additions

ADD
Show:
© 2015 Microsoft