Click or drag to resize

GraphExtensionsLoadFromString Method (IGraph, String)

Loads RDF data from a String into a Graph.

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


Type: VDS.RDFIGraph
Graph to load into.
Type: SystemString
Data to load.

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 Parse() methods from the StringParser class located in the Parsing namespace.
See Also