IRdfReaderLoad Method (IGraph, String) |
Method for Loading a Graph from some Concrete RDF Syntax from a given File.
Namespace:
VDS.RDF
Assembly:
dotNetRDF (in dotNetRDF.dll) Version:
Syntax void Load(
IGraph g,
string filename
)
Sub Load (
g As IGraph,
filename As String
)
Parameters
- g
- Type: VDS.RDFIGraph
Graph to load RDF into. - filename
- Type: SystemString
The Filename of the File to read from.
Exceptions Exception | Condition |
---|
RdfException | Thrown if the Parser tries to output something that is invalid RDF. |
RdfParseException | Thrown if the Parser cannot Parse the Input. |
IOException | Thrown if the Parser encounters an IO Error while trying to access/parse the File. |
See Also