---
title: "AXValueGetValue(_:_:_:)"
framework: Application Services
role: symbol
role_heading: Function
platforms: [macOS 10.2+]
path: applicationservices/1462933-axvaluegetvalue
---

# AXValueGetValue(_:_:_:)

## Declaration

```swift
func AXValueGetValue(_ value: AXValue, _ theType: AXValueType, _ valuePtr: UnsafeMutableRawPointer) -> Bool
```

## Parameters

- `value`:

## Discussion

Discussion Decodes the structure stored in value and copies it into valuePtr. If the structure stored in value is not the same as requested by theType, the function returns false.

## See Also

### Miscellaneous

- [AXValueCreate(_:_:)](applicationservices/1459351-axvaluecreate.md)
- [AXValueGetType(_:)](applicationservices/1460911-axvaluegettype.md)
- [AXValueGetTypeID()](applicationservices/1460780-axvaluegettypeid.md)
