GraphSerializer.Save Method (Graph, TextWriter, Int32)
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, _
graphNodeIdAliasThreshold As Integer _
)
public static void Save(
Graph graph,
TextWriter textWriter,
int graphNodeIdAliasThreshold
)
public:
static void Save(
Graph^ graph,
TextWriter^ textWriter,
int graphNodeIdAliasThreshold
)
static member Save :
graph:Graph *
textWriter:TextWriter *
graphNodeIdAliasThreshold:int -> unit
public static function Save(
graph : Graph,
textWriter : TextWriter,
graphNodeIdAliasThreshold : int
)
Parameters
- graph
Type: Microsoft.VisualStudio.GraphModel.Graph
The graph to serialize
- textWriter
Type: System.IO.TextWriter
The text writer to write to
- graphNodeIdAliasThreshold
Type: System.Int32
.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.