
# IBomComponent interface

*No description yet.*

```csharp
public interface IBomComponent
```

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

## Properties

| Property | Type | Access | Description |
| --- | --- | --- | --- |
| [Quantity](#quantity) | `int` | get; set |  |
| [QuantityForVariant](#quantityforvariant) | `int` | get; set |  |

### Quantity

*No description yet.*

```csharp
int GetQuantity();
void SetQuantity(int argValue);
```

**Type:** `int` · **Access:** read/write

### QuantityForVariant

*No description yet.*

```csharp
int GetQuantityForVariant(string argName);
void SetQuantityForVariant(string argName, int argValue);
```

**Type:** `int` · **Access:** read/write · **Index:** `argName` (`string`)

## Methods

| Method | Returns | Description |
| --- | --- | --- |
| [AsGroup](#asgroup) | [IBomGroup](https://altiumdeveloper.github.io/ad-sdk-docs/reference/edp/IBomGroup.md) |  |
| [GetParameters](#getparameters) | [IBomParameterDictionary](https://altiumdeveloper.github.io/ad-sdk-docs/reference/edp/IBomParameterDictionary.md) |  |
| [GetParent](#getparent) | [IBomComponent](#) |  |
| [GetPartChoices](#getpartchoices) | [IBomPartChoiceList](https://altiumdeveloper.github.io/ad-sdk-docs/reference/edp/IBomPartChoiceList.md) |  |
| [IsGroup](#isgroup) | `bool` |  |

### AsGroup

*No description yet.*

```csharp
IBomGroup AsGroup();
```

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

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

### GetParameters

*No description yet.*

```csharp
IBomParameterDictionary GetParameters();
```

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

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

**Examples:** [Extension_BOMManager](https://github.com/AltiumDeveloper/ad-sdk-examples/blob/5b144f54740a53ec578b3b6c3f902b831e0b1144/Extension_BOMManager/Source%20Code/SchemaBom.cs#L64), [Extension_BOMManager](https://github.com/AltiumDeveloper/ad-sdk-examples/blob/5b144f54740a53ec578b3b6c3f902b831e0b1144/Extension_BOMManager/Source%20Code/SchemaComponent.cs#L18)

### GetParent

*No description yet.*

```csharp
IBomComponent GetParent();
```

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

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

### GetPartChoices

*No description yet.*

```csharp
IBomPartChoiceList GetPartChoices();
```

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

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

### IsGroup

*No description yet.*

```csharp
bool IsGroup();
```

**Returns:** `bool`

## Returned by

[IBomComponentEnumerator.GetCurrent](https://altiumdeveloper.github.io/ad-sdk-docs/reference/edp/IBomComponentEnumerator.md#getcurrent), [IBomComponentList.GetItem](https://altiumdeveloper.github.io/ad-sdk-docs/reference/edp/IBomComponentList.md#getitem), [IBomGroup.GetParent](https://altiumdeveloper.github.io/ad-sdk-docs/reference/edp/IBomGroup.md#getparent)

## Examples

Used in the SDK examples: [Extension_BOMManager](https://github.com/AltiumDeveloper/ad-sdk-examples/blob/5b144f54740a53ec578b3b6c3f902b831e0b1144/Extension_BOMManager/Source%20Code/BomItem.cs#L13), [Extension_BOMManager](https://github.com/AltiumDeveloper/ad-sdk-examples/blob/5b144f54740a53ec578b3b6c3f902b831e0b1144/Extension_BOMManager/Source%20Code/IBomComponent.cs#L10), [Extension_BOMManager](https://github.com/AltiumDeveloper/ad-sdk-examples/blob/5b144f54740a53ec578b3b6c3f902b831e0b1144/Extension_BOMManager/Source%20Code/IBomItem.cs#L11), [Extension_BOMManager](https://github.com/AltiumDeveloper/ad-sdk-examples/blob/5b144f54740a53ec578b3b6c3f902b831e0b1144/Extension_BOMManager/Source%20Code/PcbComponent.cs#L11), [Extension_BOMManager](https://github.com/AltiumDeveloper/ad-sdk-examples/blob/5b144f54740a53ec578b3b6c3f902b831e0b1144/Extension_BOMManager/Source%20Code/ProjectBomItem.cs#L13), [Extension_BOMManager](https://github.com/AltiumDeveloper/ad-sdk-examples/blob/5b144f54740a53ec578b3b6c3f902b831e0b1144/Extension_BOMManager/Source%20Code/ProjectComponent.cs#L10), [Extension_BOMManager](https://github.com/AltiumDeveloper/ad-sdk-examples/blob/5b144f54740a53ec578b3b6c3f902b831e0b1144/Extension_BOMManager/Source%20Code/SchemaComponent.cs#L10).
