# IO.GetIoId examples

Examples for [GetIoId](https://developer.rhino3d.com/api/gh2/type/grasshopperio.io/getioid.md) in GrasshopperIO.IO.

## C#

```cs
using GrasshopperIO;

// As an extension method
Guid result = type.GetIoId(inherit);

// As a static method
result = IO.GetIoId(type, inherit);
```

## Python

```python
import clr
clr.AddReference('GrasshopperIO')
import GrasshopperIO
clr.ImportExtensions(GrasshopperIO)

# As an extension method
result = type.GetIoId(inherit)

# As a static method
result = GrasshopperIO.IO.GetIoId(type, inherit)
```
