Click or drag to resize

ValuedNodeExtensionsAsValuedNode Method

Takes a INode and converts it to a IValuedNode if it is not already an instance that implements the interface.

Namespace:  VDS.RDF.Nodes
Assembly:  dotNetRDF (in dotNetRDF.dll) Version:
Syntax
public static IValuedNode AsValuedNode(
	this INode n
)

Parameters

n
Type: VDS.RDFINode
Node.

Return Value

Type: IValuedNode
Valued Node.

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