
# IHarnessDefinitionList interface

*No description yet.*

```csharp
public interface IHarnessDefinitionList
```

**Namespace:** EDP · **Assembly:** Altium.SDK.Interfaces

## Methods

| Method | Returns | Description |
| --- | --- | --- |
| [DM_GetState_HarnessDefinition_ByIndex](#dm_getstate_harnessdefinition_byindex) | [IHarnessDefinition](https://altiumdeveloper.github.io/ad-sdk-docs/reference/edp/IHarnessDefinition.md) |  |
| [DM_GetState_HarnessDefinition_ByType](#dm_getstate_harnessdefinition_bytype) | [IHarnessDefinition](https://altiumdeveloper.github.io/ad-sdk-docs/reference/edp/IHarnessDefinition.md) |  |
| [DM_GetState_HarnessDefinitionCount](#dm_getstate_harnessdefinitioncount) | `int` |  |
| [DM_GetState_Name](#dm_getstate_name) | `string` |  |
| [DM_LoadHarnessDefinitions](#dm_loadharnessdefinitions) | `void` |  |

### DM_GetState_HarnessDefinition_ByIndex

*No description yet.*

```csharp
IHarnessDefinition DM_GetState_HarnessDefinition_ByIndex(int argIndex);
```

| Parameter | Type | Passing |
| --- | --- | --- |
| `argIndex` | `int` | value |

**Returns:** [IHarnessDefinition](https://altiumdeveloper.github.io/ad-sdk-docs/reference/edp/IHarnessDefinition.md)

Extension method of `IHarnessDefinitionListHelper` (`using EDP;`).

### DM_GetState_HarnessDefinition_ByType

*No description yet.*

```csharp
IHarnessDefinition DM_GetState_HarnessDefinition_ByType(string argType);
```

| Parameter | Type | Passing |
| --- | --- | --- |
| `argType` | `string` | value |

**Returns:** [IHarnessDefinition](https://altiumdeveloper.github.io/ad-sdk-docs/reference/edp/IHarnessDefinition.md)

Extension method of `IHarnessDefinitionListHelper` (`using EDP;`).

### DM_GetState_HarnessDefinitionCount

*No description yet.*

```csharp
int DM_GetState_HarnessDefinitionCount();
```

**Returns:** `int`

### DM_GetState_Name

*No description yet.*

```csharp
string DM_GetState_Name();
```

**Returns:** `string`

### DM_LoadHarnessDefinitions

*No description yet.*

```csharp
void DM_LoadHarnessDefinitions();
```

**Returns:** nothing (`void`)

## Returned by

[IAbstractVHDLProject.DM_GetHarnessDefinitionList](https://altiumdeveloper.github.io/ad-sdk-docs/reference/edp/IAbstractVHDLProject.md#dm_getharnessdefinitionlist), [IBoardProject.DM_GetHarnessDefinitionList](https://altiumdeveloper.github.io/ad-sdk-docs/reference/edp/IBoardProject.md#dm_getharnessdefinitionlist), [IFreeDocumentsProject.DM_GetHarnessDefinitionList](https://altiumdeveloper.github.io/ad-sdk-docs/reference/edp/IFreeDocumentsProject.md#dm_getharnessdefinitionlist), [ISignalHarnessProject.DM_GetHarnessDefinitionList](https://altiumdeveloper.github.io/ad-sdk-docs/reference/edp/ISignalHarnessProject.md#dm_getharnessdefinitionlist), [IWorkspace.DM_CreateHarnessDefinitionList_DeviceSheets](https://altiumdeveloper.github.io/ad-sdk-docs/reference/edp/IWorkspace.md#dm_createharnessdefinitionlist_devicesheets)

## Accepted by

[IWorkspace.DM_DestroyHarnessDefinitionList](https://altiumdeveloper.github.io/ad-sdk-docs/reference/edp/IWorkspace.md#dm_destroyharnessdefinitionlist)
