Search
XmlLoader.Load Method (String, Object)
See Also
 





Loads the component hierarchy from the specified XML string and returns the root of this hierarchy.

Namespace: MindFusion.Diagramming.Components
Assembly: MindFusion.Diagramming

 Syntax

C#  Copy Code

public static ComponentBase Load (
    string xml,
    Object target
)

Visual Basic  Copy Code

Public Shared Function Load( _
    xml As String, _
    target As Object _
) As ComponentBase

 Parameters

xml

A XML representing a component hierarchy.

target

An object that is declaring the handlers for the events in the code and also used to evaluate expressions.

 Return Value

The root of the loaded hierarchy.

 Remarks

If target is null (Nothing in Visual Basic) and an event handler is encountered in the supplied XML the loader will throw exception.

 See Also