Share via


GraphSerializer.Load Method (XDocument)

Deserialize the graph object model from the given XDocument.

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

Syntax

'Declaration
Public Shared Function Load ( _
    doc As XDocument _
) As Graph
public static Graph Load(
    XDocument doc
)
public:
static Graph^ Load(
    XDocument^ doc
)
static member Load : 
        doc:XDocument -> Graph 
public static function Load(
    doc : XDocument
) : 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