DiagramLite Programmer's Guide
XmlPersistContext.AddChildElement Method (String, XElement)
See Also
 





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

Namespace: MindFusion.Diagramming
Assembly: MindFusion.Diagramming.Silverlight

 Syntax

C#  Copy Code

public XElement AddChildElement (
    string elementName,
    XElement parentElement
)

Visual Basic  Copy Code

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

 Parameters

elementName

The name of the new child node to be added to the parent node.

parentElement

The parent node that the child node will be added to.

 Return Value

A System.Xml.Linq.XDocument object.

 See Also

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