Graph.Save Method (String, GraphSerializationSettings)
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Saves the Graph the a file.
Namespace: Microsoft.VisualStudio.GraphModel
Assembly: Microsoft.VisualStudio.GraphModel (in Microsoft.VisualStudio.GraphModel.dll)
Syntax
'Declaration
Public Sub Save ( _
fileName As String, _
settings As GraphSerializationSettings _
)
public void Save(
string fileName,
GraphSerializationSettings settings
)
public:
void Save(
String^ fileName,
GraphSerializationSettings^ settings
)
member Save :
fileName:string *
settings:GraphSerializationSettings -> unit
public function Save(
fileName : String,
settings : GraphSerializationSettings
)
Parameters
fileName
Type: System.StringThe file name.
settings
Type: Microsoft.VisualStudio.GraphModel.GraphSerializationSettingsThe serialization settings.
.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.