Share via


GraphSerializer.Load Method (XDocument, Graph)

Deserialize the graph object model from the given XDocument into the given graph object.

Namespace:  Microsoft.VisualStudio.GraphModel
Assembly:  Microsoft.VisualStudio.GraphModel (in Microsoft.VisualStudio.GraphModel.dll)

Syntax

'Declaration
Public Shared Function Load ( _
    doc As XDocument, _
    graph As Graph _
) As Graph
public static Graph Load(
    XDocument doc,
    Graph graph
)
public:
static Graph^ Load(
    XDocument^ doc, 
    Graph^ graph
)
static member Load : 
        doc:XDocument * 
        graph:Graph -> Graph 
public static function Load(
    doc : XDocument, 
    graph : Graph
) : Graph

Parameters

Return Value

Type: Microsoft.VisualStudio.GraphModel.Graph
new deserialized Graph object

.NET Framework Security

See Also

Reference

GraphSerializer Class

Load Overload

Microsoft.VisualStudio.GraphModel Namespace