ElementCollectionAdd Method (Element, Int32)
Adds the specified Element object to the collection at the specified index.

Namespace: MailBee.Html
Assembly: MailBee.NET.45 (in MailBee.NET.45.dll) Version: 10.0.45.502
Syntax
public void Add(
	Element elem,
	int index
)

Parameters

elem
Type: MailBee.HtmlElement
The Element object to be added to the collection.
index
Type: SystemInt32
The zero-based index where to insert the specified Element object in the collection.
Exceptions
ExceptionCondition
MailBeeInvalidArgumentExceptionelem is a null reference (Nothing in Visual Basic).
ArgumentOutOfRangeExceptionThe specified index is not valid.
See Also