# GetPersistentMethodName(int)

> Get the target method name of the listener at index index.

## Definition

* **Type:** Method
* **Namespace:** [UnityEngine.Events](/engine/6000.7/script-reference/unityengine/events.md)
* **Assembly:** UnityEngine.CoreModule

```csharp
public string GetPersistentMethodName(int index)
```

### Parameters

**** (\[int]\(https\://learn.microsoft.com/dotnet/api/system.int32)): Index of the listener to query.

### Returns

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