MindFusion.Wpf Pack Programmer's Guide
XmlContext.AddChildElement Method (XName, XContainer, String)
See Also
 





Adds a new child node with the specified name and value to the specified parent node.

Namespace: MindFusion.Spreadsheet.Wpf
Assembly: MindFusion.Spreadsheet.Wpf

 Syntax

C#  Copy Code

public XElement AddChildElement (
    XName elementName,
    XContainer parentElement,
    string innerText
)

Visual Basic  Copy Code

Public Function AddChildElement( _
    elementName As XName, _
    parentElement As XContainer, _
    innerText As String _
) As XElement

 Parameters

elementName

An instance of the .NET XName class that specifies the name of the new element.

parentElement

An instance of the .NET XElement class that specifies the parent element.

innerText

The value of the new element.

 Return Value

An instance of the .NET XElement class representing the newly created element.

 See Also

AddChildElement Method Overload List
XmlContext Members
XmlContext Class
MindFusion.Spreadsheet.Wpf Namespace