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