
# ICMP_PrimitiveList interface

*No description yet.*

```csharp
public interface ICMP_PrimitiveList
```

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

## Methods

| Method | Returns | Description |
| --- | --- | --- |
| [Add](#add) | `void` |  |
| [ClearAll](#clearall) | `void` |  |
| [Delete](#delete) | `void` |  |
| [Get](#get) | [ICMP_Primitive](https://altiumdeveloper.github.io/ad-sdk-docs/reference/edp/ICMP_Primitive.md) |  |
| [GetCount](#getcount) | `int` |  |
| [GetExpandedList](#getexpandedlist) | [ICMP_PrimitiveList](#) |  |

### Add

*No description yet.*

```csharp
void Add(ICMP_Primitive argPrim);
void Add(object argPrim);
```

| Parameter | Type | Passing |
| --- | --- | --- |
| `argPrim` | [ICMP_Primitive](https://altiumdeveloper.github.io/ad-sdk-docs/reference/edp/ICMP_Primitive.md) | value |

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

The first overload is an extension method of `ICMP_PrimitiveListHelper` (`using EDP;`) with typed parameters; the second is declared by the interface.

### ClearAll

*No description yet.*

```csharp
void ClearAll();
```

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

### Delete

*No description yet.*

```csharp
void Delete(int argIndex);
```

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

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

### Get

*No description yet.*

```csharp
ICMP_Primitive Get(int argIndex);
```

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

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

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

### GetCount

*No description yet.*

```csharp
int GetCount();
```

**Returns:** `int`

### GetExpandedList

*No description yet.*

```csharp
ICMP_PrimitiveList GetExpandedList();
```

**Returns:** [ICMP_PrimitiveList](#)

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

## Returned by

[ICMP_Board.GetPrimitives](https://altiumdeveloper.github.io/ad-sdk-docs/reference/edp/ICMP_Board.md#getprimitives), [ICMP_ComparisonServer.CreatePrimitiveList](https://altiumdeveloper.github.io/ad-sdk-docs/reference/edp/ICMP_ComparisonServer.md#createprimitivelist), [ICMP_Group.GetPrimitives](https://altiumdeveloper.github.io/ad-sdk-docs/reference/edp/ICMP_Group.md#getprimitives)
