Xmlnode_Object Name Property

Returns the name of the current node, if it has a name.

…xmlnode_object.Name

Prerequisites

None

Parameters

None

Remarks

Returns the name of the current node or an empty string ("") if the node has no name.

Examples

Dim doc As XmlDoc 
Dim root As XmlNode
doc = New XmlDoc("my_doc")
root = doc.DocumentElement
Console.Writeline(root.Name) ' Displays "my_doc"

See Also

XML Classes | xmlnode_object.Type | xmlnode_object.Value