Contents

AXUIElementCopyParameterizedAttributeNames(_:_:)

Returns a list of all the parameterized attributes supported by the specified accessibility object.

Declaration

func AXUIElementCopyParameterizedAttributeNames(_ element: AXUIElement, _ names: UnsafeMutablePointer<CFArray?>) -> AXError

Parameters

  • element:

    The AXUIElementRef representing the accessibility object.

  • names:

    On return, an array containing the accessibility object's parameterized attribute names.

Return Value

If unsuccessful, AXUIElementCopyParameterizedAttributeNames may return one of the following error codes, among others:

kAXErrorAttributeUnsupported or kAXErrorParameterizedAttributeUnsupported

The specified AXUIElementRef does not support the specified parameterized attribute.

kAXErrorIllegalArgument

One or both of the arguments is an illegal value.

kAXErrorInvalidUIElement

The AXUIElementRef is invalid.

kAXErrorFailure

There was some sort of system memory failure.

kAXErrorCannotComplete

The function cannot complete because messaging has failed in some way.

kAXErrorNotImplemented

The process does not fully support the accessibility API.

See Also

Miscellaneous