Add Method (ElementExtensions Collection)

                  Applies To

Creates a new ElementExtension object.

Syntax

expression.Add(ElementID, FailIfThere)

expression   An expression that returns an ElementExtensions collection.

ElementID   Required String. Specifies the ID tag of an HTML element that will be extended by the new ElementExtension object.

FailIfThere   Optional Boolean. If this argument is set to True and the object specified by ElementID already has an element extension, the Add method fails. If this argument is set to False (or not specified), the existing element extension is replaced.