Microsoft SDK for Java

getAccRole

This method of the IAccessibleDefault Interface retrieves the role property of a specified child object.

Syntax

public Variant getAccRole(Variant varChild);

Return Value

Returns a Variant object that contains a role constant or a string that describes the object's role.

Parameters

varChild The value that identifies the child object whose role is requested.

Overrides

getAccRole(Variant) in IAccessible.

© 1999 Microsoft Corporation. All rights reserved. Terms of use.