
# ISupplierCategory interface

*No description yet.*

```csharp
public interface ISupplierCategory
```

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

## Properties

| Property | Type | Access | Description |
| --- | --- | --- | --- |
| [Category](#category) | [ISupplierCategory](#) | get |  |
| [CategoryByName](#categorybyname) | [ISupplierCategory](#) | get |  |
| [RecordCount](#recordcount) | `int` | get; set |  |

### Category

*No description yet.*

```csharp
ISupplierCategory GetState_Category(int argI);
```

**Type:** [ISupplierCategory](#) · **Access:** read-only · **Index:** `argI` (`int`)

The accessors are extension methods of `ISupplierCategoryHelper` (`using SCH;`).

### CategoryByName

*No description yet.*

```csharp
ISupplierCategory GetState_CategoryByName(string argCategoryName);
```

**Type:** [ISupplierCategory](#) · **Access:** read-only · **Index:** `argCategoryName` (`string`)

The accessors are extension methods of `ISupplierCategoryHelper` (`using SCH;`).

### RecordCount

*No description yet.*

```csharp
int GetState_RecordCount();
void SetState_RecordCount(int argValue);
```

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

## Methods

| Method | Returns | Description |
| --- | --- | --- |
| [AddCategory](#addcategory) | `void` |  |
| [CategoryCount](#categorycount) | `int` |  |
| [CategoryName](#categoryname) | `string` |  |

### AddCategory

*No description yet.*

```csharp
void AddCategory(ISupplierCategory argCategory);
void AddCategory(object argCategory);
```

| Parameter | Type | Passing |
| --- | --- | --- |
| `argCategory` | [ISupplierCategory](#) | value |

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

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

### CategoryCount

*No description yet.*

```csharp
int CategoryCount();
```

**Returns:** `int`

### CategoryName

*No description yet.*

```csharp
string CategoryName();
```

**Returns:** `string`

## Returned by

[ISupplierSearchStatistics.Category](https://altiumdeveloper.github.io/ad-sdk-docs/reference/sch/ISupplierSearchStatistics.md#category), [ISupplierSearchStatistics.CategoryByName](https://altiumdeveloper.github.io/ad-sdk-docs/reference/sch/ISupplierSearchStatistics.md#categorybyname)

## Accepted by

[ISupplier.BackgroundGetCategoryParameters](https://altiumdeveloper.github.io/ad-sdk-docs/reference/sch/ISupplier.md#backgroundgetcategoryparameters), [ISupplier.BackgroundSearchByKeyword](https://altiumdeveloper.github.io/ad-sdk-docs/reference/sch/ISupplier.md#backgroundsearchbykeyword), [ISupplier.GetCategoryParameters](https://altiumdeveloper.github.io/ad-sdk-docs/reference/sch/ISupplier.md#getcategoryparameters), [ISupplier.SearchByKeyword](https://altiumdeveloper.github.io/ad-sdk-docs/reference/sch/ISupplier.md#searchbykeyword), [ISupplierSearchStatistics.AddCategory](https://altiumdeveloper.github.io/ad-sdk-docs/reference/sch/ISupplierSearchStatistics.md#addcategory), [SupplierSearchHandler.BackgroundGetCategoryParameters](https://altiumdeveloper.github.io/ad-sdk-docs/reference/sch/SupplierSearchHandler.md#backgroundgetcategoryparameters), [SupplierSearchHandler.BackgroundSearchByKeyword](https://altiumdeveloper.github.io/ad-sdk-docs/reference/sch/SupplierSearchHandler.md#backgroundsearchbykeyword), [SupplierSearchHandler.GetCategoryParameters](https://altiumdeveloper.github.io/ad-sdk-docs/reference/sch/SupplierSearchHandler.md#getcategoryparameters)
