MailBee.NET Objects 7.2

TagAttributeCollection.Add Method (TagAttribute, Int32)

Adds the specified TagAttribute object to the collection at the specified index.

public void Add(
   TagAttribute attr,
   int index
);

Parameters

attr
The TagAttribute object to be added to the collection.
index
The zero-based index where to insert the specified TagAttribute object in the collection.

Exceptions

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

See Also

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