MailBee.NET Objects 7.1

TagAttributeCollection.AddRange Method (TagAttributeCollection, Int32, Int32, Int32)

Adds elements from the TagAttributeCollection object with specified range.

public void AddRange(
   TagAttributeCollection attrs,
   int srcIndex,
   int count,
   int destIndex
);

Parameters

attrs
The source TagAttributeCollection to add elements from.
srcIndex
The zero-based index in attrs collection from which to copy the attributes.
count
Number of attributes to be added from attrs collection.
destIndex
The zero-based index in the current collection where to insert the first attribute from the copied range.

Exceptions

Exception Type Condition
MailBeeInvalidArgumentException attrs is a null reference (Nothing in Visual Basic).
ArgumentOutOfRangeException The specified index is not valid.

See Also

TagAttributeCollection Class | MailBee.Html Namespace | TagAttributeCollection.AddRange Overload List