Click or drag to resize

IRdfWriterSave Method (IGraph, TextWriter)

Method for Saving a Graph to a Concrete RDF Syntax via some arbitrary TextWriter.

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

Parameters

g
Type: VDS.RDFIGraph
The Graph to Save.
output
Type: System.IOTextWriter
The TextWriter to save the Graph to.
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