Search
ComponentBase.SaveToXml Method
See Also
 





Serializes the component into an XML element.

Namespace: MindFusion.Diagramming.Components
Package: MindFusion.Diagramming

 Syntax

C#  Copy Code

protected virtual void SaveToXml (
    XmlElement xmlElement,
    XmlPersistContext context
)

Visual Basic  Copy Code

Protected Overridable Sub SaveToXml( _
    xmlElement As XmlElement, _
    context As XmlPersistContext _
)

 Parameters

xmlElement
An XmlElement the component's data should be stored into.
context
An XmlPersistContext object providing contextual information about the serialization process and some helper serialization methods.

 Remarks

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

 See Also