only for RuBoard |
XmlDocumentFragment class in the System.Xml namespace is an implementation of the W3C DocumentFragment interface. This class represents a lightweight object that inherits the XmlNode class and is useful for tree insert operations. This can be used as an alternative to XmlDocument class, which might prove to be comparatively heavyweight for some operations on the document. Table B.6 and Table B.7 list the properties and methods respectively found in the XmlDocumentFragment class.
XmlDocumentFragment (Inherits XmlNode ) | Description | IXMLDOMDocument Fragment |
---|---|---|
InnerXml (Overrides XMLNode::InnerXml ) | Gets or sets the markup representing the children of the current node. | |
LocalName (Overrides XMLNode::LocalName ) | Gets the name of the node without the namespace prefix. | baseName |
Name (Overrides XMLNode::Name ) | Gets the qualified name of the node. | nodeName |
NodeType (Overrides XMLNode::NodeType ) | Returns an XmlNodeType enumeration member representing this node's type. | nodeType (Gets an IXMLDOMNodeType enumeration member) |
OwnerDocument (Overrides XMLNode::OwnerDocument ) | Gets the XmlDocument to which the current node belongs. | ownerDocument Gets the IXMLDOMDocument root note to which the current node belongs. |
ParentNode (Overrides XMLNode::ParentNode ) | Gets the parent of the current node. If the node has been created but not added to the tree, this returns a null reference in C#, or Nothing in Visual Basic .NET. | parentNode |
XmlDocumentFragment | Description | IXMLDOMDocument Fragment |
---|---|---|
CloneNode (Overrides XMLNode::CloneNode ) | Similar to XMLNode::Clone , but accepts a deep Boolean parameter indicating if the subtree should be duplicated . | cloneNode |
WriteContentTo (Overrides XMLNode::WriteContentTo ) | Saves the contents of the XmlDocument node to the specified XmlWriter . | |
WriteTo (Overrides XMLNode::WriteTo ) | Saves the XmlDocument node to the specified XmlWriter . |
only for RuBoard |