Click or drag to resize

ExtensionsCopyNode Method (INode, IGraph, Boolean)

Copies a Node to the target Graph.

Namespace:  VDS.RDF
Assembly:  dotNetRDF (in dotNetRDF.dll) Version:
Syntax
public static INode CopyNode(
	this INode n,
	IGraph target,
	bool keepOriginalGraphUri
)

Parameters

n
Type: VDS.RDFINode
Node to copy.
target
Type: VDS.RDFIGraph
Target Graph.
keepOriginalGraphUri
Type: SystemBoolean
Indicates whether Nodes should preserve the Graph Uri of the Graph they originated from.

Return Value

Type: INode

[Missing <returns> documentation for "M:VDS.RDF.Extensions.CopyNode(VDS.RDF.INode,VDS.RDF.IGraph,System.Boolean)"]

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type INode. 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
Shorthand for the Tools.CopyNode() method.
See Also