Search
XmlSerializationContext.AddChildElement Method (String, XElement, String)
See Also
 






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

Namespace: MindFusion.Scheduling
Assembly: MindFusion.Scheduling

 Syntax

C#  Copy Code

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

Visual Basic  Copy Code

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

 Parameters

elementName

The desired name of the new node.

parentElement

The parent element of the newly created node.

innerText

The desired value of the new node.

 Return Value

A XElement object representing the newly created element.

 See Also