# IGH_Component class

Namespace: [Grasshopper2.Interop](https://developer.rhino3d.com/api/gh2/namespace/grasshopper2.interop.md) · Assembly: [Grasshopper2](https://developer.rhino3d.com/api/gh2/assembly/grasshopper2.md)

```cs
public sealed class IGH_Component : IGH_DocumentObject
```

A wrapper around an instance of the IGH_Component interface as defined in Grasshopper 1. This class exposes various common properties of GH1 components.

## Constructors

- [IGH_Component](https://developer.rhino3d.com/api/gh2/type/grasshopper2.interop.igh-component/ctor.md): Create a new wrapper for a Grasshopper 1.0 component.

## Properties

- [InputCount](https://developer.rhino3d.com/api/gh2/type/grasshopper2.interop.igh-component/inputcount.md): Gets the number of input parameters, assuming this instance wraps an IGH_Component.
- [IsComponent](https://developer.rhino3d.com/api/gh2/type/grasshopper2.interop.igh-component/iscomponent.md)
- [OutputCount](https://developer.rhino3d.com/api/gh2/type/grasshopper2.interop.igh-component/outputcount.md): Gets the number of output parameters, assuming this instance wraps an IGH_Param.

## Methods

- [HideModularOutput](https://developer.rhino3d.com/api/gh2/type/grasshopper2.interop.igh-component/hidemodularoutput.md): (static) Hide the output at the given index if the component is modular and the output is visible.
- [Input](https://developer.rhino3d.com/api/gh2/type/grasshopper2.interop.igh-component/input.md): Gets the Nth input parameter, assuming this instance wraps an IGH_Component. If the index is out of range, null will be returned.
- [Output](https://developer.rhino3d.com/api/gh2/type/grasshopper2.interop.igh-component/output.md): Gets the Nth output parameter, assuming this instance wraps an IGH_Component. If the index is out of range, null will be returned.
- [ShowModularInput](https://developer.rhino3d.com/api/gh2/type/grasshopper2.interop.igh-component/showmodularinput.md): (static) Show the input at the given index if the component is modular and the input is hidden.
- [ShowModularOutput](https://developer.rhino3d.com/api/gh2/type/grasshopper2.interop.igh-component/showmodularoutput.md): (static) Show the output at the given index if the component is modular and the output is hidden.
- [TransferInputs](https://developer.rhino3d.com/api/gh2/type/grasshopper2.interop.igh-component/transferinputs.md): Transfer input parameter properties from this Grasshopper 1 component to a supplied Grasshopper 2 component.
- [TransferOutputs](https://developer.rhino3d.com/api/gh2/type/grasshopper2.interop.igh-component/transferoutputs.md): Transfer output parameter properties from this Grasshopper 1 component to a supplied Grasshopper 2 component.

## Inherited Members

- From [IGH_DocumentObject](https://developer.rhino3d.com/api/gh2/type/grasshopper2.interop.igh-documentobject.md): [Activity](https://developer.rhino3d.com/api/gh2/type/grasshopper2.interop.igh-documentobject/activity.md), [Bounds](https://developer.rhino3d.com/api/gh2/type/grasshopper2.interop.igh-documentobject/bounds.md), [ComponentId](https://developer.rhino3d.com/api/gh2/type/grasshopper2.interop.igh-documentobject/componentid.md), [Display](https://developer.rhino3d.com/api/gh2/type/grasshopper2.interop.igh-documentobject/display.md), [Icon](https://developer.rhino3d.com/api/gh2/type/grasshopper2.interop.igh-documentobject/icon.md), [Info](https://developer.rhino3d.com/api/gh2/type/grasshopper2.interop.igh-documentobject/info.md), [InstanceId](https://developer.rhino3d.com/api/gh2/type/grasshopper2.interop.igh-documentobject/instanceid.md), [IsParameter](https://developer.rhino3d.com/api/gh2/type/grasshopper2.interop.igh-documentobject/isparameter.md), [Name](https://developer.rhino3d.com/api/gh2/type/grasshopper2.interop.igh-documentobject/name.md), [OutletPoint](https://developer.rhino3d.com/api/gh2/type/grasshopper2.interop.igh-documentobject/outletpoint.md), [UnderlyingObject](https://developer.rhino3d.com/api/gh2/type/grasshopper2.interop.igh-documentobject/underlyingobject.md), [UserName](https://developer.rhino3d.com/api/gh2/type/grasshopper2.interop.igh-documentobject/username.md), [GetValue](https://developer.rhino3d.com/api/gh2/type/grasshopper2.interop.igh-documentobject/getvalue.md), [Migrate](https://developer.rhino3d.com/api/gh2/type/grasshopper2.interop.igh-documentobject/migrate.md), [TransferInstanceId](https://developer.rhino3d.com/api/gh2/type/grasshopper2.interop.igh-documentobject/transferinstanceid.md), [TransferObjectName](https://developer.rhino3d.com/api/gh2/type/grasshopper2.interop.igh-documentobject/transferobjectname.md), [TransferObjectState](https://developer.rhino3d.com/api/gh2/type/grasshopper2.interop.igh-documentobject/transferobjectstate.md)
