C# Класс Automation.UI.Tree.QueryParts.QueryConditionPart

Represents the conditions part of a query.
Наследование: QueryPart
Показать файл Открыть проект Примеры использования класса

Private Properties

Свойство Тип Описание
ApplyCondition void
ApplyUnaryOperator System.Windows.Automation.Condition
JoinWithBinaryOperator System.Windows.Automation.Condition
QueryConditionPart System.Windows.Automation
SetBinaryOperator void
SetUnaryOperator void

Открытые методы

Метод Описание
Id ( ) : QueryMatcherPart

Search using the automation id property.

Name ( ) : QueryMatcherPart

Search using the name property.

Not ( ) : QueryConditionPart

Sets the active unary operator to a logical "not".

ProcessId ( ) : QueryMatcherPart

Search using the process id property.

Property ( AutomationProperty property ) : QueryMatcherPart

Search using an arbitrary property.

Type ( ) : QueryMatcherPart

Search using the name property.

Приватные методы

Метод Описание
ApplyCondition ( Condition condition ) : void

Applies the specified property condition to this query.

ApplyUnaryOperator ( Condition condition ) : Condition

Applies the active unary operator to the specified condition.

JoinWithBinaryOperator ( Condition left, Condition right ) : Condition

Applies the active binary operator to the specified conditions.

QueryConditionPart ( Query query ) : System.Windows.Automation

New query condition part.

SetBinaryOperator ( IBinaryOperator op ) : void

Updates the active binary operator.

SetUnaryOperator ( IUnaryOperator op ) : void

Updates the active unary operator.

Описание методов

Id() публичный Метод

Search using the automation id property.
public Id ( ) : QueryMatcherPart
Результат QueryMatcherPart

Name() публичный Метод

Search using the name property.
public Name ( ) : QueryMatcherPart
Результат QueryMatcherPart

Not() публичный Метод

Sets the active unary operator to a logical "not".
public Not ( ) : QueryConditionPart
Результат QueryConditionPart

ProcessId() публичный Метод

Search using the process id property.
public ProcessId ( ) : QueryMatcherPart
Результат QueryMatcherPart

Property() публичный Метод

Search using an arbitrary property.
public Property ( AutomationProperty property ) : QueryMatcherPart
property System.Windows.Automation.AutomationProperty The property to match.
Результат QueryMatcherPart

Type() публичный Метод

Search using the name property.
public Type ( ) : QueryMatcherPart
Результат QueryMatcherPart