IUIAutomationCacheRequest::AddPattern Method
Adds a control pattern to the cache request.
Syntax
HRESULT AddPattern( PATTERNID patternId );
Parameters
- patternId
[in] The identifier of the control pattern to add to the cache request. For a list of control pattern IDs, see Control Pattern Identifiers.
Return Value
Returns S_OK if successful, or an error value otherwise.
Remarks
Adding a control pattern that is already in the cache request has no effect.