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