Click or drag to resize

ExtensionsAddToList Method (IGraph, INode, IEnumerableINode)

Adds new items to the end of a list (aka a RDF collection).

Namespace:  VDS.RDF
Assembly:  dotNetRDF (in dotNetRDF.dll) Version:
Syntax
public static void AddToList(
	this IGraph g,
	INode listRoot,
	IEnumerable<INode> objects
)

Parameters

g
Type: VDS.RDFIGraph
Graph to assert in.
listRoot
Type: VDS.RDFINode
Root Node for the list.
objects
Type: System.Collections.GenericIEnumerableINode
Objects to add to the collection.

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).
See Also