## HeaderCollection.Insert method

Inserts the header in collection. If collection contains headers with the same name this header will be inserted before other headers with the same name.

```csharp
public void Insert(string name, string value)
```

| Parameter | Type | Description |
| --- | --- | --- |
| name | String | The header name. |
| value | String | The header value. |

### See Also

* class [HeaderCollection](../)
* namespace [Aspose.Email.Mime](../../headercollection/)
* assembly [Aspose.Email](../../../)


