GraphExtensionsSaveToFile Method (IGraph, String, IRdfWriter) |
Saves a Graph to a File.
Namespace:
VDS.RDF
Assembly:
dotNetRDF (in dotNetRDF.dll) Version:
Syntax public static void SaveToFile(
this IGraph g,
string file,
IRdfWriter writer
)
<ExtensionAttribute>
Public Shared Sub SaveToFile (
g As IGraph,
file As String,
writer As IRdfWriter
)
Parameters
- g
- Type: VDS.RDFIGraph
Graph to save. - file
- Type: SystemString
File to save to. - writer
- Type: VDS.RDFIRdfWriter
Writer to use.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
IGraph. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).
See Also