C# 클래스 Automation.UI.Tree.Query

Represents a query that is used to walk the UI automation tree.
파일 보기 프로젝트 열기: vijayakumarsuraj/UIAutomation 1 사용 예제들

Private Properties

프로퍼티 타입 설명
Query System

공개 메소드들

메소드 설명
AllResults ( ) : UIComponents

Gets all the results of executing this query.

FirstResult ( ) : UIComponent

Get the first result of executing this query. If no elements were found, throws an exception.

FirstResult ( System.TimeSpan timeout ) : UIComponent

Get the first result of executing this query. If no elements were found, throws an exception.

ToString ( ) : string

Gets a string that represents this query's condition and scope.

비공개 메소드들

메소드 설명
Query ( AutomationElement root ) : System

New query that will search relative to the specified element.

메소드 상세

AllResults() 공개 메소드

Gets all the results of executing this query.
public AllResults ( ) : UIComponents
리턴 UIComponents

FirstResult() 공개 메소드

Get the first result of executing this query. If no elements were found, throws an exception.
public FirstResult ( ) : UIComponent
리턴 UIComponent

FirstResult() 공개 메소드

Get the first result of executing this query. If no elements were found, throws an exception.
public FirstResult ( System.TimeSpan timeout ) : UIComponent
timeout System.TimeSpan The maximum amount of time to wait for the requested element to become available.
리턴 UIComponent

ToString() 공개 메소드

Gets a string that represents this query's condition and scope.
public ToString ( ) : string
리턴 string