Individual Constructor (INode, INode, IGraph) |
Gets/Creates an Individual from the Graph.
Namespace:
VDS.RDF.Ontology
Assembly:
dotNetRDF (in dotNetRDF.dll) Version:
Syntaxpublic Individual(
INode resource,
INode resourceClass,
IGraph graph
)
Public Sub New (
resource As INode,
resourceClass As INode,
graph As IGraph
)
Parameters
- resource
- Type: VDS.RDF.INode
Resource that represents the Individual. - resourceClass
- Type: VDS.RDF.INode
Class to create/add the Individual to. - graph
- Type: VDS.RDF.IGraph
Graph the Individual is in.
Remarks
Allows for creating new Individuals in the Graph or adding existing resources to another Class. If the resource for the Individual or the given Class are new then they will be added to the Graph.
See Also