ItemContainerPattern_FindItemByProperty Function
Note This function is deprecated. Client applications should use the Microsoft UI Automation COM interfaces instead.
Retrieves a node within a containing node, based on a specified property value.
Syntax
HRESULT ItemContainerPattern_FindItemByProperty( HUIAPATTERNOBJECT hobj, HUIANODE hnodeStartAfter, PROPERTYID propertyId, VARIANT value, HUIANODE *pFound );
Parameters
- hobj
[in] The control pattern object.- hnodeStartAfter
[in] The node after which to start the search.- propertyId
[in] The property identifier. For a list of property IDs, see Property Identifiers.- value
[in] A VARIANT that contains the value of the propertyId property.- pFound
[out] The node of the matching element.
Return Value
Returns S_OK if successful or an error value otherwise.
Function Information
Stock Implementation uiautomationcore.dll Custom Implementation No Header uiautomationcoreapi.h Import library uiautomationcore.lib Minimum operating systems Windows 7