GraphExtensionsSaveToStream Method (IGraph, TextWriter, IRdfWriter)
Saves a Graph to a stream.
dotNetRDF (in dotNetRDF.dll) Version:
public static void SaveToStream(
this IGraph g,
Public Shared Sub SaveToStream (
g As IGraph,
streamWriter As TextWriter,
writer As IRdfWriter
- Type: VDS.RDFIGraph
Graph to save.
- Type: System.IOTextWriter
Stream to save to.
- Type: VDS.RDFIRdfWriter
Writer to use.
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)