Click or drag to resize

ConfigurationLoaderGetConfigurationString Method (IGraph, INode, INode)

Gets the String value or null of the first instance of a property for a given Object in the Configuration Graph where the value for the property is a Literal Node.

Namespace:  VDS.RDF.Configuration
Assembly:  dotNetRDF (in dotNetRDF.dll) Version:
Syntax
public static string GetConfigurationString(
	IGraph g,
	INode objNode,
	INode property
)

Parameters

g
Type: VDS.RDFIGraph
Configuration Graph.
objNode
Type: VDS.RDFINode
Object Node.
property
Type: VDS.RDFINode
Property Node.

Return Value

Type: String

String value of the first instance of the property or a null if no values or not a literal value.

If you want the String value regardless of Node type then use the GetConfigurationValue function instead.

See Also