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: 12.5.0 build 687 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