IUIAutomationDockPattern::CachedDockPosition Property

Retrieves the cached dock position of the Microsoft UI Automation element.

Syntax

HRESULT IUIAutomationDockPattern::get_CachedDockPosition(DockPosition *retVal);

Parameters

  • retVal
    The address of a variable that receives a value from the DockPosition enumerated type indicating the cached dock position.

Return Value

Returns S_OK if successful, or an error value otherwise.