ASP.NET Pack Programmer's Guide
XmlLoader.Load Method (XmlDocument, Object)
See Also
 





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

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

 Syntax

C#  Copy Code

public static ComponentBase Load (
    XmlDocument document,
    Object target
)

Visual Basic  Copy Code

Public Shared Function Load( _
    document As XmlDocument, _
    target As Object _
) As ComponentBase

 Parameters

document

The XmlDocument to load from.

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

Load Method Overload List
XmlLoader Members
XmlLoader Class
MindFusion.Diagramming.Components Namespace