Click or drag to resize

HtmlSchemaWriterSave Method (IGraph, TextWriter, Boolean)

Method for saving a graph to a concrete RDF syntax via some arbitray TextWriter.

Namespace:  VDS.RDF.Writing
Assembly:  dotNetRDF (in dotNetRDF.dll) Version:
Syntax
public void Save(
	IGraph g,
	TextWriter output,
	bool leaveOpen
)

Parameters

g
Type: VDS.RDFIGraph
The graph to save.
output
Type: System.IOTextWriter
The TextWriter to save the graph to.
leaveOpen
Type: SystemBoolean
true
to leave the stream open when the method completes;.
false
otherwise.

Implements

IRdfWriterSave(IGraph, TextWriter, Boolean)
Exceptions
ExceptionCondition
RdfExceptionThrown if the RDF in the graph is not representable by the writer.
IOExceptionThrown if the writer is unable to write to the underlying storage of the TextWriter specified in the output.
See Also