GraphExtensionsLoadFromString Method (IGraph, String) |
Loads RDF data from a String into a Graph.
Namespace:
VDS.RDF
Assembly:
dotNetRDF (in dotNetRDF.dll) Version:
Syntax public static void LoadFromString(
this IGraph g,
string data
)
<ExtensionAttribute>
Public Shared Sub LoadFromString (
g As IGraph,
data As String
)
Parameters
- g
- Type: VDS.RDFIGraph
Graph to load into. - data
- 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).
Remarks
This is just a shortcut to using the static
Parse() methods from the
StringParser class located in the
Parsing namespace.
See Also