Partager via


IQueryCondition Interface

This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.

Provides an internal interface definition for a QueryCondition.

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

Syntax

'Declaration
<ComVisibleAttribute(True)> _
<GuidAttribute("E6B73AC4-8242-4b4c-BB35-892F8059871E")> _
Public Interface IQueryCondition
[ComVisibleAttribute(true)]
[GuidAttribute("E6B73AC4-8242-4b4c-BB35-892F8059871E")]
public interface IQueryCondition
[ComVisibleAttribute(true)]
[GuidAttribute(L"E6B73AC4-8242-4b4c-BB35-892F8059871E")]
public interface class IQueryCondition
[<ComVisibleAttribute(true)>]
[<GuidAttribute("E6B73AC4-8242-4b4c-BB35-892F8059871E")>]
type IQueryCondition =  interface end
public interface IQueryCondition

The IQueryCondition type exposes the following members.

Properties

  Name Description
Public property Conditions Gets or sets a list of nested conditions.
Public property Name Gets or sets the name of this query condition.

Top

Methods

  Name Description
Public method BindParameters Binds parameters to properties in this query condition by using the given value map.
Public method GetPropertyValue Returns the value of a given property, if it occurs in this query condition.
Public method Match Returns a value that indicates whether the given element matches this query condition.
Public method ParameterizeProperty Parameterizes a property of this query condition.

Top

Remarks

Do not implement this interface directly. Instead, use QueryCondition.

See Also

Reference

Microsoft.VisualStudio.TestTools.UITest.Extension Namespace

QueryCondition