Export (0) Print
Expand All

XmlDocument.Name Property

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.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0, 1.1

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

XNA Framework

Supported in: 3.0, 2.0, 1.0
Show:
© 2015 Microsoft