> ## Documentation Index
> Fetch the complete documentation index at: https://developer.synopsys.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Interface ModelCenter::IComponents

![][IDL]
![][public]

**Definition**: `ModelCenter/src/ModelCenter.odl` (line 1263)

COM Instance.

## Members

* [Count](#interfaceModelCenter_1_1IComponents_1a657951d45a2e5d44a882ecc04e4abbae)
* [Item](#interfaceModelCenter_1_1IComponents_1a497784a98d679aa2ed109130ae004e0a)

## Properties

### Property Count

![][public]

**Definition**: `ModelCenter/src/ModelCenter.odl` (line 1)

```text theme={null}
VARIANT ModelCenter::IComponents::Count
```

Number of Components.

**Return type**: VARIANT

## Public functions

### Function Item

![][public]

```text theme={null}
VARIANT ModelCenter::IComponents::Item(VARIANT id)
```

Gets a pointer to the specified Component.

**Parameters**:

* **id**: ID of the specified Component. It can be a name or an index.

**Returns**:

IDispatch\* to an [IComponent](https://developer.synopsys.com/docs/modelcenter/modelcenter-apis/2025-r2/modelcenter-api-md/interfaceModelCenter_1_1IComponent.md) object.

**Parameters**:

* VARIANT **id**

**Return type**: VARIANT

[public]: https://img.shields.io/badge/-public-brightgreen "public"

[private]: https://img.shields.io/badge/-private-red "private"

[IDL]: https://img.shields.io/badge/language-IDL-blue "IDL"
