
# IPartChoice2List interface

*No description yet.*

```csharp
public interface IPartChoice2List : IInterfaceList
```

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

**Inherits:** [IInterfaceList](https://altiumdeveloper.github.io/ad-sdk-docs/reference/dxp/IInterfaceList.md)

## Methods

| Method | Returns | Description |
| --- | --- | --- |
| [GetPartChoice](#getpartchoice) | [IPartChoice2](https://altiumdeveloper.github.io/ad-sdk-docs/reference/sch/IPartChoice2.md) |  |

### GetPartChoice

*No description yet.*

```csharp
IPartChoice2 GetPartChoice(int argI);
```

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

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

Extension method of `IPartChoice2ListHelper` (`using SCH;`).

**Examples:** [Extension_PartChoice](https://github.com/AltiumDeveloper/ad-sdk-examples/blob/5b144f54740a53ec578b3b6c3f902b831e0b1144/Extension_PartChoice/Source%20Code/Commands.cs#L56)

## Inherited members

- From [IInterfaceList](https://altiumdeveloper.github.io/ad-sdk-docs/reference/dxp/IInterfaceList.md): [Add](https://altiumdeveloper.github.io/ad-sdk-docs/reference/dxp/IInterfaceList.md#add), [Capacity](https://altiumdeveloper.github.io/ad-sdk-docs/reference/dxp/IInterfaceList.md#capacity), [Clear](https://altiumdeveloper.github.io/ad-sdk-docs/reference/dxp/IInterfaceList.md#clear), [Count](https://altiumdeveloper.github.io/ad-sdk-docs/reference/dxp/IInterfaceList.md#count), [Delete](https://altiumdeveloper.github.io/ad-sdk-docs/reference/dxp/IInterfaceList.md#delete), [Exchange](https://altiumdeveloper.github.io/ad-sdk-docs/reference/dxp/IInterfaceList.md#exchange), [First](https://altiumdeveloper.github.io/ad-sdk-docs/reference/dxp/IInterfaceList.md#first), [Get](https://altiumdeveloper.github.io/ad-sdk-docs/reference/dxp/IInterfaceList.md#get), [IndexOf](https://altiumdeveloper.github.io/ad-sdk-docs/reference/dxp/IInterfaceList.md#indexof), [Insert](https://altiumdeveloper.github.io/ad-sdk-docs/reference/dxp/IInterfaceList.md#insert), [Last](https://altiumdeveloper.github.io/ad-sdk-docs/reference/dxp/IInterfaceList.md#last), [Lock](https://altiumdeveloper.github.io/ad-sdk-docs/reference/dxp/IInterfaceList.md#lock), [Put](https://altiumdeveloper.github.io/ad-sdk-docs/reference/dxp/IInterfaceList.md#put), [Remove](https://altiumdeveloper.github.io/ad-sdk-docs/reference/dxp/IInterfaceList.md#remove), [Unlock](https://altiumdeveloper.github.io/ad-sdk-docs/reference/dxp/IInterfaceList.md#unlock)

## Returned by

[IPartChoice2ExtListResult.GetPartChoiceList](https://altiumdeveloper.github.io/ad-sdk-docs/reference/sch/IPartChoice2ExtListResult.md#getpartchoicelist), [IPartChoice2ListAsyncResult.GetPartChoiceList](https://altiumdeveloper.github.io/ad-sdk-docs/reference/sch/IPartChoice2ListAsyncResult.md#getpartchoicelist), [IPartChoice2ListResult.GetPartChoiceList](https://altiumdeveloper.github.io/ad-sdk-docs/reference/sch/IPartChoice2ListResult.md#getpartchoicelist)

## Accepted by

[IPartCatalog2.UpsertPartChoiceList](https://altiumdeveloper.github.io/ad-sdk-docs/reference/sch/IPartCatalog2.md#upsertpartchoicelist), [IPartChoicesClient.TryModifyPartChoices](https://altiumdeveloper.github.io/ad-sdk-docs/reference/sch/IPartChoicesClient.md#trymodifypartchoices), [IPartChoicesClient.UpsertPartChoiceList](https://altiumdeveloper.github.io/ad-sdk-docs/reference/sch/IPartChoicesClient.md#upsertpartchoicelist), [Utils.TryModifyPartChoices](https://altiumdeveloper.github.io/ad-sdk-docs/reference/edp/Utils.md#trymodifypartchoices)

## Examples

Used in the SDK examples: [Extension_PartChoice](https://github.com/AltiumDeveloper/ad-sdk-examples/blob/5b144f54740a53ec578b3b6c3f902b831e0b1144/Extension_PartChoice/Source%20Code/Commands.cs#L49).
