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
- doc
Type: System.Xml.Linq.XDocument
The XDocument to deserialize
Return Value
Type: Microsoft.VisualStudio.GraphModel.Graph
new deserialized Graph object
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.