Xceed Chart for WinForms v4.4 Documentation
XmlNodeWriter Constructor(XmlElement,Boolean)


Xceed.Chart.Utilities.v4.4 Assembly > Xceed.Chart.Utilities Namespace > XmlNodeWriter Class > XmlNodeWriter Constructor : XmlNodeWriter Constructor(XmlElement,Boolean)
If root contains any content it will be completely replaced by what the XmlNodeWriter produces.
Clear the current children of the given node
Construct XmlNodeWriter for building the content of the given root XmlElement node.
Syntax
'Declaration
 
Public Function New( _
   ByVal root As XmlElement, _
   ByVal clearCurrentContents As Boolean _
)
'Usage
 
Dim root As XmlElement
Dim clearCurrentContents As Boolean
 
Dim instance As New XmlNodeWriter(root, clearCurrentContents)
public XmlNodeWriter( 
   XmlElement root,
   bool clearCurrentContents
)

Parameters

root
If root contains any content it will be completely replaced by what the XmlNodeWriter produces.
clearCurrentContents
Clear the current children of the given node
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

XmlNodeWriter Class
XmlNodeWriter Members
Overload List