다음을 통해 공유


IUIAutomationElement7::FindAllWithOptions 메서드(uiautomationclient.h)

지정된 순서로 일치하는 모든 요소를 찾습니다.

구문

HRESULT FindAllWithOptions(
                 TreeScope                 scope,
  [in]           IUIAutomationCondition    *condition,
                 TreeTraversalOptions      traversalOptions,
  [in, optional] IUIAutomationElement      *root,
  [out]          IUIAutomationElementArray **found
);

매개 변수

scope

[in] condition

일치시킬 조건을 나타내는 조건에 대한 포인터입니다.

traversalOptions

[in, optional] root

검색을 시작할 요소에 대한 포인터입니다.

[out] found

일치하는 요소의 배열에 대한 포인터를 받습니다. 일치하는 요소가 없으면 빈 배열을 반환합니다.

반환 값

성공하면 S_OK 반환하고, 그렇지 않으면 HRESULT 오류 코드를 반환합니다.

요구 사항

   
지원되는 최소 클라이언트 Windows 10 버전 1703 [데스크톱 앱만 해당]
지원되는 최소 서버 Windows Server 2016 [데스크톱 앱만 해당]
대상 플랫폼 Windows
헤더 uiautomationclient.h(UIAutomation.h 포함)
DLL UIAutomationCore.dll

추가 정보

IUIAutomationElement7