Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

AndCondition Class

 

Represents an AND condition for a query.

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

System::Object
  Microsoft.VisualStudio.TestTools.UITest.Extension::QueryCondition
    Microsoft.VisualStudio.TestTools.UITest.Extension::AndCondition

public ref class AndCondition : QueryCondition

NameDescription
System_CAPS_pubmethodAndCondition()

Initializes a new instance of the AndCondition class.

System_CAPS_pubmethodAndCondition(array<IQueryCondition^>^)

Initializes a new instance of the AndCondition class by using the provided conditions.

NameDescription
System_CAPS_pubpropertyConditions

Gets or sets an array of nested query conditions.(Inherited from QueryCondition.)

System_CAPS_pubpropertyConditionsWrapper

Gets or sets the nested conditions for serialization.(Inherited from QueryCondition.)

System_CAPS_pubpropertyName

Gets or sets the name of this query condition.(Inherited from QueryCondition.)

NameDescription
System_CAPS_pubmethodBindParameters(ValueMap^)

Binds parameters to properties in this query condition by using the given value map.(Inherited from QueryCondition.)

System_CAPS_pubmethodEquals(Object^)

Returns a value that indicates whether the provided object is equal to this query condition.(Inherited from QueryCondition.)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

(Inherited from QueryCondition.)

System_CAPS_pubmethodGetPropertyValue(String^)

Retrieves the value of the named property, if it exists.(Inherited from QueryCondition.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_pubmethodMatch(IUITechnologyElement^)

Determines whether the provided element matches this condition.(Overrides QueryCondition::Match(IUITechnologyElement^).)

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethodParameterizeProperty(String^, String^)

Parameterizes the given property by using the given parameter name.(Inherited from QueryCondition.)

System_CAPS_pubmethodSystem_CAPS_staticParse(String^)

Parses the provided string into an AndCondition object.

System_CAPS_pubmethodToString()

Returns a string representation of this AND condition.(Overrides QueryCondition::ToString().)

NameDescription
System_CAPS_pubfieldSystem_CAPS_staticConditionDelimiter

Returns "&&", which is used to separate nested conditions in the AND condition.

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

Return to top
Show: