Click or drag to resize

ExtensionsAssertList Method (IGraph, INode, IEnumerableINode)

Asserts a list as a RDF collection using an existing node as the list root.

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


Type: VDS.RDFIGraph
Graph to assert in.
Type: VDS.RDFINode
Root Node for List.
Type: System.Collections.GenericIEnumerableINode
Objects to place in 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