Click or drag to resize

ConfigurationLoaderGetConfigurationInt32 Method (IGraph, INode, INode, Int32)

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

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

Parameters

g
Type: VDS.RDFIGraph
Configuration Graph.
objNode
Type: VDS.RDFINode
Object Node.
property
Type: VDS.RDFINode
Property Node.
defValue
Type: SystemInt32
Default Value to return if there is no valid boolean value.

Return Value

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