# RunAppendByRef<T>(ref T, NativeList<int>, int)

> Executes the appending filter job, on the main thread. See IJobFilterExtensions.ScheduleAppend for more information on how appending is performed.

## Definition

* **Type:** Method
* **Namespace:** [Unity.Jobs](/engine/6000.7/script-reference/unity/jobs.md)
* **Assembly:** UnityEngine.ManagedKernelModule

## RunAppendByRef\<T>(T, NativeList\<int>, int)

```csharp
public static void RunAppendByRef<T>(this ref T jobData, NativeList<int> indices, int arrayLength) where T : struct, IJobFilter
```

### Parameters

**** (T): The job and data to schedule.**** (\[NativeList\<int>]\(/engine/6000.7/script-reference/unity/collections/nativelist1)): List of indices to be filtered. Filtered results will be appended to this list.**** (\[int]\(https\://learn.microsoft.com/dotnet/api/system.int32)): Number of indices to filter starting from index 0.
