# DefPathAtIndex Method

## Overloads

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

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

## DefPathAtIndex(Int32)

Converts an existing index to its equivalent path value

### Declaration

```

          public string DefPathAtIndex(int index)
    
  
```

### Parameters

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

### Returns

| Type | Description |
| --- | --- |
| System.String | path to HyperCube/ListObject definition |

### Implements

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

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

## DefPathAtIndex(Int32[])

Converts existing index values to their equivalent path values

### Declaration

```

          public string[] DefPathAtIndex(int[] indexes)
    
  
```

### Parameters

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

### Returns

| Type | Description |
| --- | --- |
| System.String[] | array of paths to HyperCube/ListObject definitions |

### Implements

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