Click or drag to resize

TripleStoreExtensionsLoadFromFile Method (ITripleStore, String, IStoreReader)

Loads an RDF dataset from a file into a Triple Store.

Namespace:  VDS.RDF
Assembly:  dotNetRDF (in dotNetRDF.dll) Version:
public static void LoadFromFile(
	this ITripleStore store,
	string file,
	IStoreReader parser


Type: VDS.RDFITripleStore
Triple Store to load into.
Type: SystemString
File to load from.
Type: VDS.RDFIStoreReader
Parser to use.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type ITripleStore. 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).
This is just a shortcut to using the static Load() methods from the FileLoader class located in the Parsing namespace.
See Also