Share via


IItemContainerProvider.FindItemByProperty Método

Definición

Recupera un elemento por el valor de propiedad especificado.

public:
 IRawElementProviderSimple ^ FindItemByProperty(IRawElementProviderSimple ^ startAfter, AutomationProperty ^ automationProperty, Platform::Object ^ value);
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

Elemento del contenedor después del cual se inicia la búsqueda.

automationProperty
AutomationProperty

Propiedad que contiene el valor que se va a recuperar.

value
Object

Platform::Object

IInspectable

Valor que se va a recuperar.

Devoluciones

Primer elemento que coincide con el criterio de búsqueda; de lo contrario, null.

Se aplica a