Click or drag to resize

OntologyResourceAsClass Method

Casts a Resource into an Ontology Class.

Namespace:  VDS.RDF.Ontology
Assembly:  dotNetRDF (in dotNetRDF.dll) Version:
Syntax
public OntologyClass AsClass()

Return Value

Type: OntologyClass

[Missing <returns> documentation for "M:VDS.RDF.Ontology.OntologyResource.AsClass"]

Remarks
Anything may be cast to a OntologyClass regardless of whether it actually represents a class in the ontology.
See Also