---
title: getElementValues
framework: driverkit
role: symbol
role_heading: Instance Method
path: driverkit/ioreporter_ivars/getelementvalues
---

# getElementValues

## Declaration

```occ
virtual const IOReportElementValues * getElementValues(int element_index);
```

## Parameters

- `element_index`: index of the _element in internal array

## Return Value

Return Value A pointer to the element values requested or NULL on failure

## Discussion

Discussion Internal method to directly access the values of an element Locking: Caller must ensure that the reporter (data) lock is held. The returned pointer is only valid until unlockReporter() is called.
