Element: setAttribute

setAttribute

Sets the value of the named attribute.

 Public Sub setAttribute(
	  ByVal name As String,
	  ByVal value As String )

Parameters

name
[ByVal] String. Name of the attribute to return.
value
[ByVal] String. Name of the attribute. If an attribute with that name already exists, its value is changed.

Remarks

If an attribute with that name does not exist, it is NOT created.

See Also

Project VBDOM Overview Class Element Overview Element Properties Element Methods selectSingleNode text (get)