# Initialize()

> Initializes a BatchQueryJobStruct instance and returns a pointer to the internal structure System.IntPtr

## Definition

* **Type:** Method
* **Namespace:** [Unity.Jobs.LowLevel.Unsafe](/engine/6000.5/script-reference/unity/jobs/lowlevel/unsafe.md)
* **Assembly:** UnityEngine.CoreModule

```csharp
public static nint Initialize()
```

### Returns

| Type                                                           | Description |
| -------------------------------------------------------------- | ----------- |
| [IntPtr](https://learn.microsoft.com/dotnet/api/system.intptr) |             |

### Remarks

Pass the returned `System.IntPtr` to [JobsUtility.JobScheduleParameters](/engine/6000.5/script-reference/unity/jobs/lowlevel/unsafe/jobsutility/jobscheduleparameters.md).
