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)

public:
static Graph^ Load(
	XDocument^ doc,
	... array<GraphSchema^>^ schemas
)

Parameters

doc
Type: System.Xml.Linq::XDocument^

The XDocument to deserialize.

schemas
Type: array<Microsoft.VisualStudio.GraphModel::GraphSchema^>^

The schemas.

Return Value

Type: Microsoft.VisualStudio.GraphModel::Graph^

New deserialized Graph object.

Return to top
Show: