次の方法で共有


Graph.Save Method

Definition

Overloads

Save(Stream, XmlWriterSettings, GraphSerializationSettings)

Save the graph to the output stream with the given settings.

Save(String, XmlWriterSettings, GraphSerializationSettings)

Save the Graph the a file.

Save(XmlWriter, GraphSerializationSettings)
Obsolete.

Save the graph to the XmlWriter with the given settings.

Save(String, GraphSerializationSettings)

Save the Graph the a file.

Save(Stream, GraphSerializationSettings)

Save the graph to the output stream with the given settings.

Save(Stream, XmlWriterSettings, GraphSerializationSettings)

Save the graph to the output stream with the given settings.

public void Save (System.IO.Stream outputStream, System.Xml.XmlWriterSettings writerSettings, Microsoft.VisualStudio.GraphModel.GraphSerializationSettings settings = default);
member this.Save : System.IO.Stream * System.Xml.XmlWriterSettings * Microsoft.VisualStudio.GraphModel.GraphSerializationSettings -> unit
Public Sub Save (outputStream As Stream, writerSettings As XmlWriterSettings, Optional settings As GraphSerializationSettings = Nothing)

Parameters

outputStream
Stream

The output stream.

writerSettings
XmlWriterSettings

Optional writer settings.

settings
GraphSerializationSettings

The serialization settings.

Applies to

Save(String, XmlWriterSettings, GraphSerializationSettings)

Save the Graph the a file.

public void Save (string fileName, System.Xml.XmlWriterSettings writerSettings, Microsoft.VisualStudio.GraphModel.GraphSerializationSettings settings = default);
member this.Save : string * System.Xml.XmlWriterSettings * Microsoft.VisualStudio.GraphModel.GraphSerializationSettings -> unit
Public Sub Save (fileName As String, writerSettings As XmlWriterSettings, Optional settings As GraphSerializationSettings = Nothing)

Parameters

fileName
String

The file name

writerSettings
XmlWriterSettings

Writer settings.

settings
GraphSerializationSettings

Optional serialization settings.

Applies to

Save(XmlWriter, GraphSerializationSettings)

Caution

This API is now deprecated.

Save the graph to the XmlWriter with the given settings.

[System.Obsolete]
public void Save (System.Xml.XmlWriter writer, Microsoft.VisualStudio.GraphModel.GraphSerializationSettings settings = default);
[<System.Obsolete>]
member this.Save : System.Xml.XmlWriter * Microsoft.VisualStudio.GraphModel.GraphSerializationSettings -> unit
Public Sub Save (writer As XmlWriter, Optional settings As GraphSerializationSettings = Nothing)

Parameters

writer
XmlWriter

The XmlWriter.

settings
GraphSerializationSettings

The serialization settings.

Attributes

Applies to

Save(String, GraphSerializationSettings)

Save the Graph the a file.

public void Save (string fileName, Microsoft.VisualStudio.GraphModel.GraphSerializationSettings settings = default);
member this.Save : string * Microsoft.VisualStudio.GraphModel.GraphSerializationSettings -> unit
Public Sub Save (fileName As String, Optional settings As GraphSerializationSettings = Nothing)

Parameters

fileName
String

The file name

settings
GraphSerializationSettings

Optional serialization settings.

Applies to

Save(Stream, GraphSerializationSettings)

Save the graph to the output stream with the given settings.

public void Save (System.IO.Stream outputStream, Microsoft.VisualStudio.GraphModel.GraphSerializationSettings settings = default);
member this.Save : System.IO.Stream * Microsoft.VisualStudio.GraphModel.GraphSerializationSettings -> unit
Public Sub Save (outputStream As Stream, Optional settings As GraphSerializationSettings = Nothing)

Parameters

outputStream
Stream

The output stream.

settings
GraphSerializationSettings

The serialization settings.

Applies to