# DefPathAtIndexAsync Method

## Overloads

| [DefPathAtIndexAsync(Int32)](https://help.qlik.com/en-US/sense-developer/November2025/Subsystems/NetSDKAPIref/Content/Qlik.Engine.GenericObject.DefPathAtIndexAsync.htm#Qlik_Engine_GenericObject_DefPathAtIndexAsync_System_Int32_) |  | Converts an existing index to its equivalent path value asynchronously |
| --- | --- | --- |
| [DefPathAtIndexAsync(Int32\[\])](https://help.qlik.com/en-US/sense-developer/November2025/Subsystems/NetSDKAPIref/Content/Qlik.Engine.GenericObject.DefPathAtIndexAsync.htm#Qlik_Engine_GenericObject_DefPathAtIndexAsync_System_Int32___) |  | Converts existing index values to their equivalent path values asynchronously |

[](https://help.qlik.com/en-US/sense-developer/Subsystems/NetSDKAPIref/Content/Qlik.Engine.GenericObject.DefPathAtIndexAsync.htm) [](https://help.qlik.com/en-US/sense-developer/Subsystems/NetSDKAPIref/Content/Qlik.Engine.GenericObject.DefPathAtIndexAsync.htm)

## DefPathAtIndexAsync(Int32)

Converts an existing index to its equivalent path value asynchronously

### Declaration

```

          public Task<string> DefPathAtIndexAsync(int index)
    
  
```

### Parameters

| Type | Name | Description |
| --- | --- | --- |
| System.Int32 | index | index to HyperCube/ListObject definition |

### Returns

| Type | Description |
| --- | --- |
| System.Threading.Tasks.Task&lt;System.String&gt; | Task that resolves a path to HyperCube/ListObject definition |

### Implements

[IGenericObject.DefPathAtIndexAsync(Int32)](https://help.qlik.com/en-US/sense-developer/November2025/Subsystems/NetSDKAPIref/Content/Qlik.Engine.IGenericObject.DefPathAtIndexAsync.htm#Qlik_Engine_IGenericObject_DefPathAtIndexAsync_System_Int32_)

[](https://help.qlik.com/en-US/sense-developer/Subsystems/NetSDKAPIref/Content/Qlik.Engine.GenericObject.DefPathAtIndexAsync.htm) [](https://help.qlik.com/en-US/sense-developer/Subsystems/NetSDKAPIref/Content/Qlik.Engine.GenericObject.DefPathAtIndexAsync.htm)

## DefPathAtIndexAsync(Int32[])

Converts existing index values to their equivalent path values asynchronously

### Declaration

```

          public Task<string[]> DefPathAtIndexAsync(int[] indexes)
    
  
```

### Parameters

| Type | Name | Description |
| --- | --- | --- |
| System.Int32[] | indexes | array with indexes to HyperCube/ListObject definitions |

### Returns

| Type | Description |
| --- | --- |
| System.Threading.Tasks.Task&lt;System.String[]&gt; | Task that resolves an array of paths to HyperCube/ListObject definitions |

### Implements

[IGenericObject.DefPathAtIndexAsync(Int32\[\])](https://help.qlik.com/en-US/sense-developer/November2025/Subsystems/NetSDKAPIref/Content/Qlik.Engine.IGenericObject.DefPathAtIndexAsync.htm#Qlik_Engine_IGenericObject_DefPathAtIndexAsync_System_Int32___)