VBDOM  

Element: setAttribute

Sets the value of the named attribute.

[Visual Basic]
 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

Class Element Overview | Element Members | selectSingleNode | text (get)