Name

XmlDocumentFragment

Synopsis

This class represents a lightweight piece or tree section of an XML document. A document fragment has a null parent node. This object is useful for tree insert operations that use the ImportNode() method of the XmlDocument class. To create an XmlDocumentFragment, use the XmlDocument.CreateDocumentFragment() method of an XmlDocument instance.

Public Class XmlDocumentFragment : Inherits XmlNode
' Protected Constructors
   Protected Friend Sub New(
        ByVal ownerDocument As XmlDocument) 
' Public Instance Properties
   Overrides Public Property InnerXml As String  
   Overrides Public ReadOnly Property LocalName As String  
   Overrides Public ReadOnly Property Name As String  
   Overrides Public ReadOnly Property NodeType As XmlNodeType  
   Overrides Public ReadOnly Property OwnerDocument As XmlDocument  
   Overrides Public ReadOnly Property ParentNode As XmlNode  
' Public Instance Methods
   Overrides Public Function CloneNode(
        ByVal deep As Boolean) As XmlNode  
   Overrides Public Sub WriteContentTo( ByVal w As XmlWriter) 
   Overrides Public Sub WriteTo( ByVal w As XmlWriter) 
End Class

Hierarchy

System.Object XmlNode(System.ICloneable, System.Collections.IEnumerable, System.Xml.XPath.IXPathNavigable) XmlDocumentFragment

Returned By

XmlDocument.CreateDocumentFragment()

Get VB.NET Core Classes in a Nutshell now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.