Compartilhar via


LoopingSelectorAutomationPeer.FindItemByProperty Método

Definição

Recupera um elemento pelo valor da propriedade especificado.

public:
 virtual IRawElementProviderSimple ^ FindItemByProperty(IRawElementProviderSimple ^ startAfter, AutomationProperty ^ automationProperty, Platform::Object ^ value) = FindItemByProperty;
IRawElementProviderSimple FindItemByProperty(IRawElementProviderSimple const& startAfter, AutomationProperty const& automationProperty, IInspectable const& value);
public IRawElementProviderSimple FindItemByProperty(IRawElementProviderSimple startAfter, AutomationProperty automationProperty, object value);
function findItemByProperty(startAfter, automationProperty, value)
Public Function FindItemByProperty (startAfter As IRawElementProviderSimple, automationProperty As AutomationProperty, value As Object) As IRawElementProviderSimple

Parâmetros

startAfter
IRawElementProviderSimple

O item no contêiner após o qual iniciar a pesquisa.

automationProperty
AutomationProperty

A propriedade que contém o valor a ser recuperado.

value
Object

Platform::Object

IInspectable

O valor a ser recuperado.

Retornos

O primeiro item que corresponde ao critério de pesquisa se esse item existir; caso contrário, nulo.

Implementações

M:Windows.UI.Xaml.Automation.Provider.IItemContainerProvider.FindItemByProperty(Windows.UI.Xaml.Automation.Provider.IRawElementProviderSimple,Windows.UI.Xaml.Automation.AutomationProperty,System.Object) M:Windows.UI.Xaml.Automation.Provider.IItemContainerProvider.FindItemByProperty(Windows.UI.Xaml.Automation.Provider.IRawElementProviderSimple,Windows.UI.Xaml.Automation.AutomationProperty,Platform::Object) M:Windows.UI.Xaml.Automation.Provider.IItemContainerProvider.FindItemByProperty(Windows.UI.Xaml.Automation.Provider.IRawElementProviderSimple,Windows.UI.Xaml.Automation.AutomationProperty,IInspectable)

Aplica-se a