Click or drag to resize

ConfigurationLoaderGetConfigurationInt64 Method (IGraph, INode, IEnumerableINode, Int64)

Gets the 64 bit Integer value or a given default of the first instance of the first property for a given Object in the Configuration Graph.

Namespace:  VDS.RDF.Configuration
Assembly:  dotNetRDF (in dotNetRDF.dll) Version:
Syntax
public static long GetConfigurationInt64(
	IGraph g,
	INode objNode,
	IEnumerable<INode> properties,
	long defValue
)

Parameters

g
Type: VDS.RDFIGraph
Configuration Graph.
objNode
Type: VDS.RDFINode
Object Node.
properties
Type: System.Collections.GenericIEnumerableINode
Property Nodes.
defValue
Type: SystemInt64
Default Value to return if there is no valid boolean value.

Return Value

Type: Int64
If there is a valid integer value for any property then that is returned, in any other case the given defValue is returned.
See Also