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