Graph.Load Method (XDocument, array<GraphSchema )

Loads 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, _
    ParamArray schemas As GraphSchema() _
) As Graph
public static Graph Load(
    XDocument doc,
    params GraphSchema[] schemas
)
public:
static Graph^ Load(
    XDocument^ doc, 
    ... array<GraphSchema^>^ schemas
)
static member Load : 
        doc:XDocument * 
        schemas:GraphSchema[] -> Graph
public static function Load(
    doc : XDocument, 
    ... schemas : GraphSchema[]
) : Graph

Parameters

  • doc
    Type: XDocument

    The XDocument to deserialize.

Return Value

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

.NET Framework Security

See Also

Reference

Graph Class

Load Overload

Microsoft.VisualStudio.GraphModel Namespace