Share via


IMultipleViewProvider::CurrentView Property

Gets the current control-specific view.

Syntax

HRESULT IMultipleViewProvider::get_CurrentView(int *pRetVal);

Parameters

  • pRetVal
    [retval][out] The address of a variable that receives an integer identifier representing the view that the control is currently displaying.

Return Value

Returns S_OK if successful, or an error value otherwise.

Remarks

The collection of view identifiers must be identical across instances.

See Also

UI Automation Providers Overview