Click or drag to resize

ConfigurationLoaderGetDefaultType Method (IGraph, INode)

Attempts to find the Default Type to load an Object as when no explicit dnr:type property has been declared but an rdf:type property has been declared giving a valid Configuration Class.

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

Parameters

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

Return Value

Type: String

[Missing <returns> documentation for "M:VDS.RDF.Configuration.ConfigurationLoader.GetDefaultType(VDS.RDF.IGraph,VDS.RDF.INode)"]

Remarks

Note: Only some configuration classes have corresponding default types, in general it is recommended that Configuration Graphs should always use the dnr:type property to explicitly state the intended type of an Object.

See Also