Click or drag to resize

ConfigurationLoaderGetConfigurationString Method (IGraph, INode, IEnumerableINode)

Gets the String value or null of the first instance of the first 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,
	IEnumerable<INode> properties
)

Parameters

g
Type: VDS.RDFIGraph
Configuration Graph.
objNode
Type: VDS.RDFINode
Object Node.
properties
Type: System.Collections.GenericIEnumerableINode
Property Nodes.

Return Value

Type: String

String value of the first instance of the first 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