Click or drag to resize

TripleStoreExtensionsLoadFromString Method (ITripleStore, String, IStoreReader)

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

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


Type: VDS.RDFITripleStore
Triple Store to load into.
Type: SystemString
Data to load.
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 ParseDataset() methods from the StringParser class located in the Parsing namespace.
See Also