AutomationElement.SetFocus 메서드

정의

에 포커스를 AutomationElement설정합니다.

public:
 void SetFocus();
public void SetFocus();
member this.SetFocus : unit -> unit
Public Sub SetFocus ()

예외

해당 UI가 AutomationElement 더 이상 존재하지 않습니다.

설명

이 메서드의 동작은 요소에 대한 UI 자동화 공급자의 구현에 따라 달라집니다. 포커스를 설정해도 요소를 포그라운드로 가져오거나 표시할 필요는 없습니다.

적용 대상