# IMigrateComponent interface

Namespace: [Grasshopper2.Doc.Migration](https://developer.rhino3d.com/api/gh2/namespace/grasshopper2.doc.migration.md) · Assembly: [Grasshopper2](https://developer.rhino3d.com/api/gh2/assembly/grasshopper2.md)

```cs
public interface IMigrateComponent : IMigrateBase
```

Implement this interface in an otherwise empty class in order to provide migration functionality for a specific Grasshopper 1 component type.

**Derived types:** [Gh1MigrationRule](https://developer.rhino3d.com/api/gh2/type/grasshopper2.doc.migration.gh1migrationrule.md)

## Methods

- [Migrate](https://developer.rhino3d.com/api/gh2/type/grasshopper2.doc.migration.imigratecomponent/migrate.md): Migrate a Grasshopper 1.0 component object.

## Inherited Members

- From [IMigrateBase](https://developer.rhino3d.com/api/gh2/type/grasshopper2.doc.migration.imigratebase.md): [Grasshopper1Id](https://developer.rhino3d.com/api/gh2/type/grasshopper2.doc.migration.imigratebase/grasshopper1id.md)
