Element: getAttribute

getAttribute

Retrieves the value of the named attribute.

 Public Function getAttribute(
	  ByVal name As String ) As String

Parameters

name
[ByVal] String. Name of the attribute to return.

Return Values

String -  String that contains the attribute value. The empty string is returned if the named attribute does not have a specified or default value.

Remarks

None

See Also

Project VBDOM Overview Class Element Overview Element Properties Element Methods appendChild ownerDocument (get)