GraphSerializer.Save 方法 (Graph, TextWriter, Int32)

将指定的图表序列化到指定的文本编写器中。

命名空间:  Microsoft.VisualStudio.GraphModel
程序集:  Microsoft.VisualStudio.GraphModel(在 Microsoft.VisualStudio.GraphModel.dll 中)

语法

声明
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
)

参数

.NET Framework 安全性

请参见

参考

GraphSerializer 类

Save 重载

Microsoft.VisualStudio.GraphModel 命名空间