XmlNode.FirstChild 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 first child of the node.

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

abstract FirstChild : XmlNode with get
override FirstChild : XmlNode with get

Property Value

Type: System.Xml.XmlNode

The first child of the node. If there is no such node, null is returned.

For information about child nodes, see the W3C DOM (Core) Level 1 specification

The following example displays the title element.

No code example is currently available or this language may not be supported.

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