Search
ComponentBase.LoadFromXml Method
See Also
 





Deserializes the component from an XML element.

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

 Syntax

C#  Copy Code

protected virtual void LoadFromXml (
    XmlElement xmlElement,
    XmlPersistContext context
)

Visual Basic  Copy Code

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

 Parameters

xmlElement
An XmlElement containing the component's data.
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 deserialized from a diagram file saved in XML format.

 See Also