Share via


IUIAutomationGridItemPattern::CurrentRow Property

Retrieves the number of the row that contains the item.

Syntax

HRESULT IUIAutomationGridItemPattern::get_CurrentRow(int *retVal);

Parameters

  • retVal
    The address of a variable that receives the zero-based index of the row containing the item. The default value is 0.

Return Value

Returns S_OK if successful, or an error value otherwise.