Search
XmlContext.AddChildElement Method (XName, XElement)
See Also
 






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

Namespace: MindFusion.Spreadsheet
Assembly: MindFusion.Spreadsheet.WinForms

 Syntax

C#  Copy Code

public XElement AddChildElement (
    XName elementName,
    XElement parentElement
)

Visual Basic  Copy Code

Public Function AddChildElement( _
    elementName As XName, _
    parentElement As XElement _
) 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.

 Return Value

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

 See Also