GraphExtensions.SaveToStream Method (IGraph, TextWriter, IRdfWriter) |
Saves a Graph to a stream.
Namespace:
VDS.RDF
Assembly:
dotNetRDF (in dotNetRDF.dll) Version:
Syntaxpublic static void SaveToStream(
this IGraph g,
TextWriter streamWriter,
IRdfWriter writer
)
<ExtensionAttribute>
Public Shared Sub SaveToStream (
g As IGraph,
streamWriter As TextWriter,
writer As IRdfWriter
)
Parameters
- g
- Type: VDS.RDF.IGraph
Graph to save. - streamWriter
- Type: System.IO.TextWriter
Stream to save to. - writer
- Type: VDS.RDF.IRdfWriter
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