Click or drag to resize

GraphExtensionsLoadFromEmbeddedResource Method (IGraph, String)

Loads RDF data from an Embedded Resource into a Graph.

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


Type: VDS.RDFIGraph
Graph to load into.
Type: SystemString
Assembly qualified name of the resource to load from.

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).
This is just a shortcut to using the static Load() methods from the EmbeddedResourceLoader class located in the Parsing namespace.
See Also