Search
DiagramItem.SaveToXml Method
See Also
 






Saves the item content into an XML element.

Namespace: MindFusion.Diagramming
Assembly: MindFusion.Diagramming

 Syntax

C#  Copy Code

protected virtual Task SaveToXml (
    XElement element,
    XmlPersistContext context
)

Visual Basic  Copy Code

Protected Overridable Function SaveToXml( _
    element As XElement, _
    context As XmlPersistContext _
) As Task

 Parameters

element

An XElement the item's data should be stored into.

context

An XmlPersistContext object providing contextual information about the serialization process and some helper serialization methods.

 Return Value

 Remarks

This method is invoked when an item is being serialized into an XML-format diagram file.

 See Also