XmlDocument.Name Property

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Gets the qualified name of the node.

Namespace:   System.Xml
Assembly:  System.Xml (in System.Xml.dll)

public override string Name { get; }

Property Value

Type: System.String

For XmlDocument nodes, the name is #document.

The name returned depends on the NodeType of the node. To see a table describing the name returned for each of the node types, see the Name property in the XmlNode class.

Universal Windows Platform
Available since 10
.NET Framework
Available since 1.1
Return to top
Show: