Click or drag to resize

GraphExtensionsLoadFromEmbeddedResource Method (IGraph, String, IRdfReader)

Loads RDF data from an Embedded Resource into a Graph.

Namespace:  VDS.RDF
Assembly:  dotNetRDF (in dotNetRDF.dll) Version:
Syntax
public static void LoadFromEmbeddedResource(
	this IGraph g,
	string resource,
	IRdfReader parser
)

Parameters

g
Type: VDS.RDFIGraph
Graph to load into.
resource
Type: SystemString
Assembly qualified name of the resource to load from.
parser
Type: VDS.RDFIRdfReader
Parser to use.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IGraph. 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