C# 클래스 Automation.UI.Tree.QueryParts.QueryMatcherPart

Represents the matcher part of the conditions of a query.
상속: QueryConditionPart.QueryConditionPartPart
파일 보기 프로젝트 열기: vijayakumarsuraj/UIAutomation

Private Properties

프로퍼티 타입 설명
ApplyMatcher QueryOperatorPart
ApplyMatcher QueryOperatorPart
QueryMatcherPart System.Windows.Automation

공개 메소드들

메소드 설명
Contains ( string value ) : QueryOperatorPart

Adds a contains condition.

EndsWith ( string value ) : QueryOperatorPart

Adds an ends with condition.

Is ( object value ) : QueryOperatorPart

Adds a property condition.

Matches ( string pattern ) : QueryOperatorPart

Adds a regex condition.

StartsWith ( string value ) : QueryOperatorPart

Adds a starts with condition.

비공개 메소드들

메소드 설명
ApplyMatcher ( object value ) : QueryOperatorPart

Applies the required property condition in the condition part of the query.

ApplyMatcher ( string value, Matcher matcher ) : QueryOperatorPart

Applies the required string property condition in the condition part of the query.

QueryMatcherPart ( AutomationProperty property, QueryConditionPart part ) : System.Windows.Automation

New query matcher part.

메소드 상세

Contains() 공개 메소드

Adds a contains condition.
public Contains ( string value ) : QueryOperatorPart
value string The expected value.
리턴 QueryOperatorPart

EndsWith() 공개 메소드

Adds an ends with condition.
public EndsWith ( string value ) : QueryOperatorPart
value string The expected value.
리턴 QueryOperatorPart

Is() 공개 메소드

Adds a property condition.
public Is ( object value ) : QueryOperatorPart
value object The expected value.
리턴 QueryOperatorPart

Matches() 공개 메소드

Adds a regex condition.
public Matches ( string pattern ) : QueryOperatorPart
pattern string The regeular expression to match.
리턴 QueryOperatorPart

StartsWith() 공개 메소드

Adds a starts with condition.
public StartsWith ( string value ) : QueryOperatorPart
value string The expected value.
리턴 QueryOperatorPart