IItemContainerProvider.FindItemByProperty method
Retrieves an element by the specified property value.
Syntax
IRawElementProviderSimple FindItemByProperty(
IRawElementProviderSimple startAfter,
AutomationProperty automationProperty,
object value
)
Parameters
- startAfter
-
Type: IRawElementProviderSimple
The item in the container after which to begin the search.
- automationProperty
-
Type: AutomationProperty
The property that contains the value to retrieve.
- value
-
Type: System.Object [.NET] | Platform::Object [C++]
The value to retrieve.
Return value
Type: IRawElementProviderSimple
The first item that matches the search criterion; otherwise, null.
Requirements
|
Minimum supported client | Windows 8 |
|---|---|
|
Minimum supported server | Windows Server 2012 |
|
Namespace |
|
|
Metadata |
|
See also
Build date: 12/4/2012
