Triple Constructor (INode, INode, INode) |
Constructs a Triple from Nodes that belong to the same Graph/Node Factory.
Namespace:
VDS.RDF
Assembly:
dotNetRDF (in dotNetRDF.dll) Version:
Syntax public Triple(
INode subj,
INode pred,
INode obj
)
Public Sub New (
subj As INode,
pred As INode,
obj As INode
)
Parameters
- subj
- Type: VDS.RDFINode
Subject of the Triple. - pred
- Type: VDS.RDFINode
Predicate of the Triple. - obj
- Type: VDS.RDFINode
Object of the Triple.
Exceptions Exception | Condition |
---|
RdfException | Thrown if the Nodes aren't all from the same Graph/Node Factory. |
Remarks Will throw an RdfException if the Nodes don't belong to the same Graph/Node Factory.
See Also