DiagramLite Programmer's Guide
XmlPersistContext.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.Diagramming
Assembly: MindFusion.Diagramming.Silverlight

 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

 See Also

AddChildElement Method Overload List
XmlPersistContext Members
XmlPersistContext Class
MindFusion.Diagramming Namespace