ElementCollectionAddRange Method (ElementCollection, Int32, Int32, Int32)
Adds elements from another ElementCollection object within the specified range.

Namespace: MailBee.Html
Assembly: MailBee.NET (in MailBee.NET.dll) Version: 11.2.0 build 590 for .NET 4.5
Syntax
public void AddRange(
	ElementCollection elems,
	int srcIndex,
	int count,
	int destIndex
)

Parameters

elems
Type: MailBee.HtmlElementCollection
The source ElementCollection to add elements from.
srcIndex
Type: SystemInt32
The zero-based index in elems collection from which to copy the elements.
count
Type: SystemInt32
Number of elements to be added from elems collection.
destIndex
Type: SystemInt32
The zero-based index in the current collection where to insert the first element from the copied range.
Exceptions
ExceptionCondition
MailBeeInvalidArgumentExceptionelems is a null reference (Nothing in Visual Basic).
ArgumentOutOfRangeExceptionThe specified index is not valid.
See Also