Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

IUIAutomationElement::GetCachedPattern Method

Retrieves from the cache the IUnknown interface of the specified control pattern of this UI Automation element.

Syntax


HRESULT GetCachedPattern(          PATTERNID patternId,
    IUnknown **patternObject
);

Parameters

patternId
[in] The identifier of the control pattern. For a list of control pattern IDs, see Control Pattern Identifiers.
patternObject
[out, retval] The address of a variable that receives a pointer to an IUnknown interface.

Return Value

Returns S_OK if successful, or an error value otherwise.

See Also

Community Additions

Show:
© 2015 Microsoft