Share via


ILegacyIAccessibleProvider::Role Property

Retrieves the role identifier of this element.

Syntax

HRESULT ILegacyIAccessibleProvider::get_Role(DWORD *pdwRole);

Parameters

  • pdwRole
    The address of a variable that receives the role ID.

Return Value

Returns S_OK if successful, or an error value otherwise.

See Also

ILegacyIAccessibleProvider