Click or drag to resize

ConfigurationLoader.GetConfigurationInt64 Method (IGraph, INode, IEnumerable<INode>, 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.RDF.IGraph
Configuration Graph.
objNode
Type: VDS.RDF.INode
Object Node.
properties
Type: System.Collections.Generic.IEnumerable<INode>
Property Nodes.
defValue
Type: System.Int64
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