GraphSerializer.Deserialize Method
Deserialize the graph from the given XDocument object
Namespace: Microsoft.VisualStudio.GraphModel
Assembly: Microsoft.VisualStudio.GraphModel (in Microsoft.VisualStudio.GraphModel.dll)
Syntax
'Declaration
Public Function Deserialize ( _
doc As XDocument _
) As Graph
public Graph Deserialize(
XDocument doc
)
public:
Graph^ Deserialize(
XDocument^ doc
)
member Deserialize :
doc:XDocument -> Graph
public function Deserialize(
doc : XDocument
) : Graph
Parameters
- doc
Type: System.Xml.Linq.XDocument
The XDocument to deserialize
Return Value
Type: Microsoft.VisualStudio.GraphModel.Graph
The 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.