Click or drag to resize

TripleStoreExtensionsLoadFromEmbeddedResource Method (ITripleStore, String, IStoreReader)

Loads an RDF dataset from an Embedded Resource into a Triple Store.

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

Parameters

store
Type: VDS.RDFITripleStore
Triple Store to load into.
resource
Type: SystemString
Assembly Qualified Name of the Embedded Resource to load from.
parser
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).
Remarks
This is just a shortcut to using the static Load() methods from the EmbeddedResourceLoader class located in the Parsing namespace.
See Also