Writes attributes contained in the attribute collection to the current tag.
The class collection.
attributes is null (Nothing in Visual Basic).
There is no current tag or the current tag has been closed.