GraphSerializer.Serialize Method
Serialize the given graph to the given XML writer. The graph is to serialize is a member of this class.
Namespace: Microsoft.VisualStudio.GraphModel
Assembly: Microsoft.VisualStudio.GraphModel (in Microsoft.VisualStudio.GraphModel.dll)
Syntax
'Declaration
Public Sub Serialize ( _
graph As Graph, _
writer As XmlWriter _
)
public void Serialize(
Graph graph,
XmlWriter writer
)
public:
void Serialize(
Graph^ graph,
XmlWriter^ writer
)
member Serialize :
graph:Graph *
writer:XmlWriter -> unit
public function Serialize(
graph : Graph,
writer : XmlWriter
)
Parameters
- graph
Type: Microsoft.VisualStudio.GraphModel.Graph
The graph to serialize
- writer
Type: System.Xml.XmlWriter
The XML writer to write to
.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.