IUIAutomationDockPattern::CurrentDockPosition Property

Retrieves the dock position of the Microsoft UI Automation element.

Syntax

HRESULT IUIAutomationDockPattern::get_CurrentDockPosition(DockPosition *retVal);

Parameters

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

Return Value

Returns S_OK if successful, or an error value otherwise.

See Also

IUIAutomationDockPattern::SetDockPosition