# GetEntries(uint, uint, ref T[])

> Retrieves a subset of entries in an array.

## Definition

* **Type:** Method
* **Namespace:** [UnityEditor.Profiling.Memory.Experimental](/engine/6000.5/script-reference/unityeditor/profiling/memory/experimental.md)
* **Assembly:** UnityEditor.CoreModule

## GetEntries(uint, uint, \`0\[])

> **Warning:**
>
> **Deprecated.** This API is outdated and will be removed. Please check out the Memory Profiler Package ([https://docs.unity3d.com/Packages/com.unity.memoryprofiler@latest/](https://docs.unity3d.com/Packages/com.unity.memoryprofiler@latest/))

```csharp
public virtual void GetEntries(uint indexStart, uint numEntries, ref T[] dataOut)
```

### Parameters

**** (\[uint]\(https\://learn.microsoft.com/dotnet/api/system.uint32)): Index to start indexing the entries.**** (\[uint]\(https\://learn.microsoft.com/dotnet/api/system.uint32)): Number of elements to retrieve.**** (\[\<T>\[]]\(./)): An array to store the returned data in.

### Remarks

GetEntries retrieves the number of entries specified by the numEntries parameter, starting at index as specified by the indexStart Parameter. The entries are written to the array specified by the dataOut parameter.

The method throws an IOException if you try to retrieve entries past the end of the of array (entryIndex plus numEntries is greater than the number of entries in the array) or the number of entries to retrieve is greater than the size of the dataOut array.
