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





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

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

 Syntax

C#  Copy Code

public static ComponentBase Load (
    Stream xmlStream,
    Object target
)

Visual Basic  Copy Code

Public Shared Function Load( _
    xmlStream As Stream, _
    target As Object _
) As ComponentBase

 Parameters

xmlStream

A XML stream 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