## InlineXbrlDocument.GetUnitById method

Gets the unit which has the specified id.

```csharp
public Unit GetUnitById(string id)
```

| Parameter | Type | Description |
| --- | --- | --- |
| id | String | Unit id |

### Return Value

The unit.

### See Also

* class [Unit](../../../aspose.finance.xbrl/unit)
* class [InlineXbrlDocument](../../inlinexbrldocument)
* namespace [Aspose.Finance.Xbrl.Inline](../../inlinexbrldocument)
* assembly [Aspose.Finance](../../../)

<!-- DO NOT EDIT: generated by xmldocmd for Aspose.Finance.dll -->
