Click or drag to resize

ExtensionsRemoveFromListT Method (IGraph, INode, IEnumerableT, FuncT, INode)

Removes the given items from a list (aka a RDF collection), if an item occurs multiple times in the list all occurrences will be removed.

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


Type: VDS.RDFIGraph
Graph to retract from.
Type: VDS.RDFINode
Root Node for the list.
Type: System.Collections.GenericIEnumerableT
Objects to remove from the collection.
Type: SystemFuncT, INode
Mapping from Object Type to INode.

Type Parameters

Type of Objects.

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