Deserializes a Diagram from XML.

Namespace:  Mindscape.WpfDiagramming
Assembly:  Mindscape.WpfDiagramming.Foundation (in Mindscape.WpfDiagramming.Foundation.dll)
Version: 2.0.0.0 (2.0.0.0)

Syntax

C#
public Diagram Deserialize(
	XDocument document
)
Visual Basic (Declaration)
Public Function Deserialize ( _
	document As XDocument _
) As Diagram

Parameters

document
Type: System.Xml.Linq..::.XDocument
An XML document containing the serialized diagram.

Return Value

The diagram deserialized from the XML.

See Also