DiagramLite Programmer's Guide
XmlPersistContext.WriteItemReference Method
See Also
 





Writes a reference to the specified item with the specified name.

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

 Syntax

C#  Copy Code

public XElement WriteItemReference (
    DiagramItem item,
    string elementName,
    XElement parentElement
)

Visual Basic  Copy Code

Public Function WriteItemReference( _
    item As DiagramItem, _
    elementName As String, _
    parentElement As XElement _
) As XElement

 Parameters

item

The DiagramItem to which a reference is written.

elementName

The name of the element under which the object should be written.

parentElement

The parent element of the newly created node.

 Return Value

 See Also

XmlPersistContext Members
XmlPersistContext Class
MindFusion.Diagramming Namespace