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

Namespace: MailBee.Html
Assembly: MailBee.NET (in MailBee.NET.dll) Version: 11.2.0 build 590 for .NET 4.5
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