IRdfWriter.Save Method (IGraph, String) |
Method for Saving a Graph to a Concrete RDF Syntax in a file based format.
Namespace:
VDS.RDF
Assembly:
dotNetRDF (in dotNetRDF.dll) Version:
Syntaxvoid Save(
IGraph g,
string filename
)
Sub Save (
g As IGraph,
filename As String
)
Parameters
- g
- Type: VDS.RDF.IGraph
The Graph to Save. - filename
- Type: System.String
The filename to save the Graph in.
ExceptionsException | Condition |
---|
RdfException | Thrown if the RDF in the Graph is not representable by the Writer. |
IOException | Thrown if the Writer is unable to write to the File. |
See Also