Adds the specified Element object to the collection at the specified index.
| Exception Type | Condition |
|---|---|
| MailBeeInvalidArgumentException | elem is a null reference (Nothing in Visual Basic). |
| ArgumentOutOfRangeException | The specified index is not valid. |
ElementCollection Class | MailBee.Html Namespace | ElementCollection.Add Overload List