By::Id

Creates a new element locator that limits its discovered elements to ones with the specified Id, starting from the Root element given to the function

Unreal Engine C++ API Reference > Developer > AutomationDriver > By > Id

References

   
Module AutomationDriver
Header /Engine/Source/Developer/AutomationDriver/Public/LocateBy.h
Include #include "LocateBy.h"
Source /Engine/Source/Developer/AutomationDriver/Private/LocateBy.cpp
static [TSharedRef](API\Runtime\Core\Templates\TSharedRef)< [IElementLocator](API\Developer\AutomationDriver\IElementLocator), ESPMode::ThreadSafe > Id
(
    const [FDriverElementRef](API\Developer\AutomationDriver\FDriverElementRef) & Root,
    const [FName](API\Runtime\Core\UObject\FName) & Value
)

Remarks

Creates a new element locator that limits its discovered elements to ones with the specified Id, starting from the Root element given to the function a locator which uses the specified Id to discover appropriate elements

Parameters

Name Description
Root The reference to the element where the search will be started from
Value The MetaData ID of the element to find

Ask questions and help your peers Developer Forums

Write your own tutorials or read those from others Learning Library