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